diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 8034bc6..05ce00a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1666,7 +1666,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1666 | { | 1666 | { |
1667 | List<SceneObjectGroup> objs = new List<SceneObjectGroup>(); | 1667 | List<SceneObjectGroup> objs = new List<SceneObjectGroup>(); |
1668 | lock (m_groupsWithTargets) | 1668 | lock (m_groupsWithTargets) |
1669 | objs = new List<SceneObjectGroup>(m_groupsWithTargets.Values); | 1669 | { |
1670 | foreach (SceneObjectGroup grp in m_groupsWithTargets.Values) | ||
1671 | objs.Add(grp); | ||
1672 | } | ||
1670 | 1673 | ||
1671 | foreach (SceneObjectGroup entry in objs) | 1674 | foreach (SceneObjectGroup entry in objs) |
1672 | entry.checkAtTargets(); | 1675 | entry.checkAtTargets(); |