diff options
author | John Hurliman | 2010-09-10 12:04:12 -0700 |
---|---|---|
committer | John Hurliman | 2010-09-10 12:04:12 -0700 |
commit | dd277a0d02f1aa79f4fcb5d108cbc696e90500c2 (patch) | |
tree | 7e396d347e43504ec23c59c3749f995f15c2e254 /OpenSim/Region/CoreModules/World/Land | |
parent | * Run SimianGrid session updates asynchronously instead of from the main hear... (diff) | |
download | opensim-SC_OLD-dd277a0d02f1aa79f4fcb5d108cbc696e90500c2.zip opensim-SC_OLD-dd277a0d02f1aa79f4fcb5d108cbc696e90500c2.tar.gz opensim-SC_OLD-dd277a0d02f1aa79f4fcb5d108cbc696e90500c2.tar.bz2 opensim-SC_OLD-dd277a0d02f1aa79f4fcb5d108cbc696e90500c2.tar.xz |
First pass at cleaning up thread safety in EntityManager and SceneGraph
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs index da7a284..ea71fd9 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandManagementModule.cs | |||
@@ -794,7 +794,8 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
794 | public void EventManagerOnParcelPrimCountUpdate() | 794 | public void EventManagerOnParcelPrimCountUpdate() |
795 | { | 795 | { |
796 | ResetAllLandPrimCounts(); | 796 | ResetAllLandPrimCounts(); |
797 | foreach (EntityBase obj in m_scene.Entities) | 797 | EntityBase[] entities = m_scene.Entities.GetEntities(); |
798 | foreach (EntityBase obj in entities) | ||
798 | { | 799 | { |
799 | if (obj != null) | 800 | if (obj != null) |
800 | { | 801 | { |