From ba1d9ca26b7b5e865824e16dc8930e85ef27eb54 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 7 Nov 2008 22:08:58 +0000 Subject: * refactor: cleanup AllocateLocalPrimId() a bit more --- OpenSim/Region/Environment/Scenes/Scene.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index cb4c2f5..833b765 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -1606,6 +1606,7 @@ namespace OpenSim.Region.Environment.Scenes m_log.ErrorFormat("[SCENE] Found a SceneObjectGroup with m_rootPart == null and {0} children", group.Children == null ? 0 : group.Children.Count); } + AddRestoredSceneObject(group, true, true); SceneObjectPart rootPart = group.GetChildPart(group.UUID); rootPart.ObjectFlags &= ~(uint)PrimFlags.Scripted; @@ -1621,7 +1622,7 @@ namespace OpenSim.Region.Environment.Scenes /// Returns a new unallocated local primitive ID /// /// A brand new local primitive ID - public uint AllocateLocalPrimId() + protected internal uint AllocateLocalPrimId() { uint myID; -- cgit v1.1