From 72b207173ab9da554e9f2721c09da9f581b0f979 Mon Sep 17 00:00:00 2001
From: lbsa71
Date: Fri, 21 Sep 2007 05:00:51 +0000
Subject: * Removed unused LandRenegerated flag
---
OpenSim/Region/Environment/Scenes/EntityBase.cs | 7 -------
OpenSim/Region/Environment/Scenes/Scene.cs | 14 ++------------
OpenSim/Region/Environment/Scenes/ScenePresence.cs | 7 -------
3 files changed, 2 insertions(+), 26 deletions(-)
(limited to 'OpenSim/Region/Environment/Scenes')
diff --git a/OpenSim/Region/Environment/Scenes/EntityBase.cs b/OpenSim/Region/Environment/Scenes/EntityBase.cs
index 4832956..dc1f7f1 100644
--- a/OpenSim/Region/Environment/Scenes/EntityBase.cs
+++ b/OpenSim/Region/Environment/Scenes/EntityBase.cs
@@ -116,13 +116,6 @@ namespace OpenSim.Region.Environment.Scenes
return (EntityBase) MemberwiseClone();
}
- ///
- /// Infoms the entity that the land (heightmap) has changed
- ///
- public virtual void LandRenegerated()
- {
- }
-
public abstract void SetText(string text, Vector3 color, double alpha);
}
}
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 62e7941..d12598b 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -321,10 +321,7 @@ namespace OpenSim.Region.Environment.Scenes
}
});
- foreach (LLUUID UUID in Entities.Keys)
- {
- Entities[UUID].LandRenegerated();
- }
+
Terrain.ResetTaint();
}
@@ -406,10 +403,7 @@ namespace OpenSim.Region.Environment.Scenes
Broadcast(delegate(IClientAPI client ) { SendLayerData( client ); });
- foreach (LLUUID UUID in Entities.Keys)
- {
- Entities[UUID].LandRenegerated();
- }
+
}
catch (Exception e)
{
@@ -434,10 +428,6 @@ namespace OpenSim.Region.Environment.Scenes
ForEachScenePresence(delegate(ScenePresence presence) { SendLayerData(presence.ControllingClient); });
- foreach (LLUUID UUID in Entities.Keys)
- {
- Entities[UUID].LandRenegerated();
- }
}
catch (Exception e)
{
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 41e555a..9b5aa99 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -537,13 +537,6 @@ namespace OpenSim.Region.Environment.Scenes
///
///
///
- public override void LandRenegerated()
- {
- }
-
- ///
- ///
- ///
public override void Update()
{
SendPrimUpdates();
--
cgit v1.1