aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-24 21:13:44 +0000
committerTeravus Ovares2008-05-24 21:13:44 +0000
commitcd79be569cf74c7bead86305caed1f9050d0db8c (patch)
tree2ab1d7b8222959615c8b845ba89d7ba0b09aa37c /OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
parent* Get the xml2 entities serialization representation in the archiver module (diff)
downloadopensim-SC_OLD-cd79be569cf74c7bead86305caed1f9050d0db8c.zip
opensim-SC_OLD-cd79be569cf74c7bead86305caed1f9050d0db8c.tar.gz
opensim-SC_OLD-cd79be569cf74c7bead86305caed1f9050d0db8c.tar.bz2
opensim-SC_OLD-cd79be569cf74c7bead86305caed1f9050d0db8c.tar.xz
* Fixes endless loop in the Land Module when selecting any object.
* Fixes returning objects when the object owner hasn't been in the simulator since the simulator started up last.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
index 5bc28f7..29e3143 100644
--- a/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Land/LandManagementModule.cs
@@ -582,6 +582,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
582 582
583 public void UpdateLandPrimCounts() 583 public void UpdateLandPrimCounts()
584 { 584 {
585 ResetAllLandPrimCounts();
585 foreach (EntityBase obj in m_scene.Entities.Values) 586 foreach (EntityBase obj in m_scene.Entities.Values)
586 { 587 {
587 if (obj is SceneObjectGroup) 588 if (obj is SceneObjectGroup)
@@ -589,6 +590,8 @@ namespace OpenSim.Region.Environment.Modules.World.Land
589 m_scene.EventManager.TriggerParcelPrimCountAdd((SceneObjectGroup)obj); 590 m_scene.EventManager.TriggerParcelPrimCountAdd((SceneObjectGroup)obj);
590 } 591 }
591 } 592 }
593 FinalizeLandPrimCountUpdate();
594 landPrimCountTainted = false;
592 } 595 }
593 596
594 public void PerformParcelPrimCountUpdate() 597 public void PerformParcelPrimCountUpdate()