diff options
author | Justin Clarke Casey | 2008-11-07 18:46:11 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-07 18:46:11 +0000 |
commit | ebd9f22b29bfbe0cfb0689405984f856e0413405 (patch) | |
tree | afc766dad4e3888fd773ac0e5186a9fdb45fb88f /OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs | |
parent | * Apply patch in http://opensimulator.org/mantis/view.php?id=2397 (diff) | |
download | opensim-SC_OLD-ebd9f22b29bfbe0cfb0689405984f856e0413405.zip opensim-SC_OLD-ebd9f22b29bfbe0cfb0689405984f856e0413405.tar.gz opensim-SC_OLD-ebd9f22b29bfbe0cfb0689405984f856e0413405.tar.bz2 opensim-SC_OLD-ebd9f22b29bfbe0cfb0689405984f856e0413405.tar.xz |
* refactor: allocate local ids to prims only when an object is attached to a scene
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs b/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs index af69707..a069ac3 100644 --- a/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs +++ b/OpenSim/Region/Environment/Modules/World/Serialiser/SceneXmlLoader.cs | |||
@@ -58,7 +58,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
58 | rootNode = doc.FirstChild; | 58 | rootNode = doc.FirstChild; |
59 | foreach (XmlNode aPrimNode in rootNode.ChildNodes) | 59 | foreach (XmlNode aPrimNode in rootNode.ChildNodes) |
60 | { | 60 | { |
61 | SceneObjectGroup obj = new SceneObjectGroup(scene, scene.RegionInfo.RegionHandle, aPrimNode.OuterXml); | 61 | SceneObjectGroup obj = new SceneObjectGroup(aPrimNode.OuterXml, true); |
62 | 62 | ||
63 | if (newIDS) | 63 | if (newIDS) |
64 | { | 64 | { |