mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* refactor: allocate local ids to prims only when an object is attached to a scene
This commit is contained in:
@@ -58,7 +58,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
rootNode = doc.FirstChild;
|
||||
foreach (XmlNode aPrimNode in rootNode.ChildNodes)
|
||||
{
|
||||
SceneObjectGroup obj = new SceneObjectGroup(scene, scene.RegionInfo.RegionHandle, aPrimNode.OuterXml);
|
||||
SceneObjectGroup obj = new SceneObjectGroup(aPrimNode.OuterXml, true);
|
||||
|
||||
if (newIDS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user