diff options
author | lbsa71 | 2007-09-21 05:00:51 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-21 05:00:51 +0000 |
commit | 72b207173ab9da554e9f2721c09da9f581b0f979 (patch) | |
tree | a60785beabd7788da50168c8e6236e31ff59340b /OpenSim/Region/Environment/Scenes | |
parent | * First example of moving stuff to a Region layer (diff) | |
download | opensim-SC_OLD-72b207173ab9da554e9f2721c09da9f581b0f979.zip opensim-SC_OLD-72b207173ab9da554e9f2721c09da9f581b0f979.tar.gz opensim-SC_OLD-72b207173ab9da554e9f2721c09da9f581b0f979.tar.bz2 opensim-SC_OLD-72b207173ab9da554e9f2721c09da9f581b0f979.tar.xz |
* Removed unused LandRenegerated flag
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/EntityBase.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 14 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 7 |
3 files changed, 2 insertions, 26 deletions
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 | |||
116 | return (EntityBase) MemberwiseClone(); | 116 | return (EntityBase) MemberwiseClone(); |
117 | } | 117 | } |
118 | 118 | ||
119 | /// <summary> | ||
120 | /// Infoms the entity that the land (heightmap) has changed | ||
121 | /// </summary> | ||
122 | public virtual void LandRenegerated() | ||
123 | { | ||
124 | } | ||
125 | |||
126 | public abstract void SetText(string text, Vector3 color, double alpha); | 119 | public abstract void SetText(string text, Vector3 color, double alpha); |
127 | } | 120 | } |
128 | } | 121 | } |
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 | |||
321 | } | 321 | } |
322 | }); | 322 | }); |
323 | 323 | ||
324 | foreach (LLUUID UUID in Entities.Keys) | 324 | |
325 | { | ||
326 | Entities[UUID].LandRenegerated(); | ||
327 | } | ||
328 | 325 | ||
329 | Terrain.ResetTaint(); | 326 | Terrain.ResetTaint(); |
330 | } | 327 | } |
@@ -406,10 +403,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
406 | 403 | ||
407 | Broadcast(delegate(IClientAPI client ) { SendLayerData( client ); }); | 404 | Broadcast(delegate(IClientAPI client ) { SendLayerData( client ); }); |
408 | 405 | ||
409 | foreach (LLUUID UUID in Entities.Keys) | 406 | |
410 | { | ||
411 | Entities[UUID].LandRenegerated(); | ||
412 | } | ||
413 | } | 407 | } |
414 | catch (Exception e) | 408 | catch (Exception e) |
415 | { | 409 | { |
@@ -434,10 +428,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
434 | 428 | ||
435 | ForEachScenePresence(delegate(ScenePresence presence) { SendLayerData(presence.ControllingClient); }); | 429 | ForEachScenePresence(delegate(ScenePresence presence) { SendLayerData(presence.ControllingClient); }); |
436 | 430 | ||
437 | foreach (LLUUID UUID in Entities.Keys) | ||
438 | { | ||
439 | Entities[UUID].LandRenegerated(); | ||
440 | } | ||
441 | } | 431 | } |
442 | catch (Exception e) | 432 | catch (Exception e) |
443 | { | 433 | { |
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 | |||
537 | /// <summary> | 537 | /// <summary> |
538 | /// | 538 | /// |
539 | /// </summary> | 539 | /// </summary> |
540 | public override void LandRenegerated() | ||
541 | { | ||
542 | } | ||
543 | |||
544 | /// <summary> | ||
545 | /// | ||
546 | /// </summary> | ||
547 | public override void Update() | 540 | public override void Update() |
548 | { | 541 | { |
549 | SendPrimUpdates(); | 542 | SendPrimUpdates(); |