aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 333eb9b..7eda10e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -4756,7 +4756,8 @@ namespace OpenSim.Region.Framework.Scenes
4756 if (IsChildAgent) 4756 if (IsChildAgent)
4757 return; 4757 return;
4758 4758
4759 m_scene.ForEachScenePresence(delegate(ScenePresence p) 4759 List<ScenePresence> allPresences = m_scene.GetScenePresences();
4760 foreach(ScenePresence p in allPresences)
4760 { 4761 {
4761 if (p != this) 4762 if (p != this)
4762 { 4763 {
@@ -4801,7 +4802,7 @@ namespace OpenSim.Region.Framework.Scenes
4801 part.UpdateFlag = 0; 4802 part.UpdateFlag = 0;
4802 } 4803 }
4803 } 4804 }
4804 }); 4805 }
4805 } 4806 }
4806 4807
4807 public void SendAttachmentScheduleUpdate(SceneObjectPart part) 4808 public void SendAttachmentScheduleUpdate(SceneObjectPart part)