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 218d4e4..9f87e1e 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1750,7 +1750,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1750 | { | 1750 | { |
1751 | List<SceneObjectGroup> objs = new List<SceneObjectGroup>(); | 1751 | List<SceneObjectGroup> objs = new List<SceneObjectGroup>(); |
1752 | lock (m_groupsWithTargets) | 1752 | lock (m_groupsWithTargets) |
1753 | objs = new List<SceneObjectGroup>(m_groupsWithTargets.Values); | 1753 | { |
1754 | foreach (SceneObjectGroup grp in m_groupsWithTargets.Values) | ||
1755 | objs.Add(grp); | ||
1756 | } | ||
1754 | 1757 | ||
1755 | foreach (SceneObjectGroup entry in objs) | 1758 | foreach (SceneObjectGroup entry in objs) |
1756 | entry.checkAtTargets(); | 1759 | entry.checkAtTargets(); |