aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorDiva Canto2009-09-29 07:54:56 -0700
committerDiva Canto2009-09-29 07:54:56 -0700
commitbc892c1d4c1f1e818f1dd1d3cf6d03186b19dd0b (patch)
tree5121122359f534bb2738c8fe7664c5451a0b166d /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentRemove empty CheckSumServer.cs file. (diff)
downloadopensim-SC_OLD-bc892c1d4c1f1e818f1dd1d3cf6d03186b19dd0b.zip
opensim-SC_OLD-bc892c1d4c1f1e818f1dd1d3cf6d03186b19dd0b.tar.gz
opensim-SC_OLD-bc892c1d4c1f1e818f1dd1d3cf6d03186b19dd0b.tar.bz2
opensim-SC_OLD-bc892c1d4c1f1e818f1dd1d3cf6d03186b19dd0b.tar.xz
A little hack to see if this fixes the problems with ~20% of SOG's becoming phantom after an import to megaregions.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 48dea07..0c471aa 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -1134,6 +1134,23 @@ namespace OpenSim.Region.Framework.Scenes
1134 } 1134 }
1135 } 1135 }
1136 1136
1137 protected internal void ForEachSOG(Action<SceneObjectGroup> action)
1138 {
1139 List<SceneObjectGroup> objlist = new List<SceneObjectGroup>(SceneObjectGroupsByFullID.Values);
1140 foreach (SceneObjectGroup obj in objlist)
1141 {
1142 try
1143 {
1144 action(obj);
1145 }
1146 catch (Exception e)
1147 {
1148 // Catch it and move on. This includes situations where splist has inconsistent info
1149 m_log.WarnFormat("[SCENE]: Problem processing action in ForEachSOG: ", e.Message);
1150 }
1151 }
1152 }
1153
1137 #endregion 1154 #endregion
1138 1155
1139 #region Client Event handlers 1156 #region Client Event handlers