aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2012-10-30 23:14:06 +0000
committerMelanie2012-10-30 23:14:06 +0000
commit3388534ff5ca91fab6415fb0ba723ae088a04971 (patch)
tree60b3ac027b59feaf4edd85e2bb0662524b9a41e0 /OpenSim/Region/Framework/Scenes
parentStore and send the current movement animation state to a new sim on crossing (diff)
parentOnly create a new list to check if objects have reached targets if there actu... (diff)
downloadopensim-SC-3388534ff5ca91fab6415fb0ba723ae088a04971.zip
opensim-SC-3388534ff5ca91fab6415fb0ba723ae088a04971.tar.gz
opensim-SC-3388534ff5ca91fab6415fb0ba723ae088a04971.tar.bz2
opensim-SC-3388534ff5ca91fab6415fb0ba723ae088a04971.tar.xz
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 7d8cbf5..69c1027 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1692,15 +1692,19 @@ namespace OpenSim.Region.Framework.Scenes
1692 1692
1693 private void CheckAtTargets() 1693 private void CheckAtTargets()
1694 { 1694 {
1695 List<SceneObjectGroup> objs = new List<SceneObjectGroup>(); 1695 List<SceneObjectGroup> objs = null;
1696
1696 lock (m_groupsWithTargets) 1697 lock (m_groupsWithTargets)
1697 { 1698 {
1698 foreach (SceneObjectGroup grp in m_groupsWithTargets.Values) 1699 if (m_groupsWithTargets.Count != 0)
1699 objs.Add(grp); 1700 objs = new List<SceneObjectGroup>(m_groupsWithTargets.Values);
1700 } 1701 }
1701 1702
1702 foreach (SceneObjectGroup entry in objs) 1703 if (objs != null)
1703 entry.checkAtTargets(); 1704 {
1705 foreach (SceneObjectGroup entry in objs)
1706 entry.checkAtTargets();
1707 }
1704 } 1708 }
1705 1709
1706 /// <summary> 1710 /// <summary>