aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;