diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-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 ccb4aad..649d545 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1674,7 +1674,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1674 | { | 1674 | { |
1675 | List<SceneObjectGroup> objs = new List<SceneObjectGroup>(); | 1675 | List<SceneObjectGroup> objs = new List<SceneObjectGroup>(); |
1676 | lock (m_groupsWithTargets) | 1676 | lock (m_groupsWithTargets) |
1677 | objs = new List<SceneObjectGroup>(m_groupsWithTargets.Values); | 1677 | { |
1678 | foreach (SceneObjectGroup grp in m_groupsWithTargets.Values) | ||
1679 | objs.Add(grp); | ||
1680 | } | ||
1678 | 1681 | ||
1679 | foreach (SceneObjectGroup entry in objs) | 1682 | foreach (SceneObjectGroup entry in objs) |
1680 | entry.checkAtTargets(); | 1683 | entry.checkAtTargets(); |