aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorMelanie2012-01-30 21:40:50 +0000
committerMelanie2012-01-30 21:40:50 +0000
commitcfe924e4a8d0de8fceaef826e2626cd86e5d6c6b (patch)
tree9a34ac4e38284df9538246f323abbfc24177a3fd /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentUse the requested sim's map, not our own (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-cfe924e4a8d0de8fceaef826e2626cd86e5d6c6b.zip
opensim-SC_OLD-cfe924e4a8d0de8fceaef826e2626cd86e5d6c6b.tar.gz
opensim-SC_OLD-cfe924e4a8d0de8fceaef826e2626cd86e5d6c6b.tar.bz2
opensim-SC_OLD-cfe924e4a8d0de8fceaef826e2626cd86e5d6c6b.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 5e8227d..ea2caaf 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -1213,8 +1213,10 @@ namespace OpenSim.Region.Framework.Scenes
1213 /// <param name="action"></param> 1213 /// <param name="action"></param>
1214 protected internal void ForEachSOG(Action<SceneObjectGroup> action) 1214 protected internal void ForEachSOG(Action<SceneObjectGroup> action)
1215 { 1215 {
1216 // FIXME: Need to lock here, really. 1216 List<SceneObjectGroup> objlist;
1217 List<SceneObjectGroup> objlist = new List<SceneObjectGroup>(SceneObjectGroupsByFullID.Values); 1217 lock (SceneObjectGroupsByFullID)
1218 objlist = new List<SceneObjectGroup>(SceneObjectGroupsByFullID.Values);
1219
1218 foreach (SceneObjectGroup obj in objlist) 1220 foreach (SceneObjectGroup obj in objlist)
1219 { 1221 {
1220 try 1222 try
@@ -1223,7 +1225,7 @@ namespace OpenSim.Region.Framework.Scenes
1223 } 1225 }
1224 catch (Exception e) 1226 catch (Exception e)
1225 { 1227 {
1226 // Catch it and move on. This includes situations where splist has inconsistent info 1228 // Catch it and move on. This includes situations where objlist has inconsistent info
1227 m_log.WarnFormat( 1229 m_log.WarnFormat(
1228 "[SCENEGRAPH]: Problem processing action in ForEachSOG: {0} {1}", e.Message, e.StackTrace); 1230 "[SCENEGRAPH]: Problem processing action in ForEachSOG: {0} {1}", e.Message, e.StackTrace);
1229 } 1231 }
@@ -1463,10 +1465,10 @@ namespace OpenSim.Region.Framework.Scenes
1463 /// <summary> 1465 /// <summary>
1464 /// Update the texture entry of the given prim. 1466 /// Update the texture entry of the given prim.
1465 /// </summary> 1467 /// </summary>
1466 /// 1468 /// <remarks>
1467 /// A texture entry is an object that contains details of all the textures of the prim's face. In this case, 1469 /// A texture entry is an object that contains details of all the textures of the prim's face. In this case,
1468 /// the texture is given in its byte serialized form. 1470 /// the texture is given in its byte serialized form.
1469 /// 1471 /// </remarks>
1470 /// <param name="localID"></param> 1472 /// <param name="localID"></param>
1471 /// <param name="texture"></param> 1473 /// <param name="texture"></param>
1472 /// <param name="remoteClient"></param> 1474 /// <param name="remoteClient"></param>