aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorHomer Horwitz2008-10-11 17:48:37 +0000
committerHomer Horwitz2008-10-11 17:48:37 +0000
commit4c337c48c704adf76ebd05625e5e208b91900397 (patch)
tree20a9959b286bf20519535860f0ca27e543897725 /OpenSim/Region/Environment/Scenes
parentAdd shift operator overloads to LSLInteger. If you get error messages when (diff)
downloadopensim-SC_OLD-4c337c48c704adf76ebd05625e5e208b91900397.zip
opensim-SC_OLD-4c337c48c704adf76ebd05625e5e208b91900397.tar.gz
opensim-SC_OLD-4c337c48c704adf76ebd05625e5e208b91900397.tar.bz2
opensim-SC_OLD-4c337c48c704adf76ebd05625e5e208b91900397.tar.xz
Add logging in case of a SOG without rootpart
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 965ccdf..51a269a 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1543,6 +1543,11 @@ namespace OpenSim.Region.Environment.Scenes
1543 List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(regionID); 1543 List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(regionID);
1544 foreach (SceneObjectGroup group in PrimsFromDB) 1544 foreach (SceneObjectGroup group in PrimsFromDB)
1545 { 1545 {
1546 if (group.RootPart == null)
1547 {
1548 m_log.ErrorFormat("[SCENE] Found a SceneObjectGroup with m_rootPart == null and {0} children",
1549 group.Children == null ? 0 : group.Children.Count);
1550 }
1546 AddRestoredSceneObject(group, true, true); 1551 AddRestoredSceneObject(group, true, true);
1547 SceneObjectPart rootPart = group.GetChildPart(group.UUID); 1552 SceneObjectPart rootPart = group.GetChildPart(group.UUID);
1548 rootPart.ObjectFlags &= ~(uint)PrimFlags.Scripted; 1553 rootPart.ObjectFlags &= ~(uint)PrimFlags.Scripted;