aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 6a2f105..f1930ea 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -271,18 +271,18 @@ namespace OpenSim.Region.Environment.Scenes
271 XmlTextReader reader = new XmlTextReader(sr); 271 XmlTextReader reader = new XmlTextReader(sr);
272 reader.Read(); 272 reader.Read();
273 reader.ReadStartElement("SceneObjectGroup"); 273 reader.ReadStartElement("SceneObjectGroup");
274 reader.ReadStartElement("RootPart"); 274 // reader.ReadStartElement("RootPart");
275 m_rootPart = SceneObjectPart.FromXml(reader); 275 m_rootPart = SceneObjectPart.FromXml(reader);
276 reader.ReadEndElement(); 276 //reader.ReadEndElement();
277 277
278 while (reader.Read()) 278 while (reader.Read())
279 { 279 {
280 switch (reader.NodeType) 280 switch (reader.NodeType)
281 { 281 {
282 case XmlNodeType.Element: 282 case XmlNodeType.Element:
283 if (reader.Name == "Part") 283 if (reader.Name == "SceneObjectPart")
284 { 284 {
285 reader.Read(); 285 // reader.Read();
286 SceneObjectPart Part = SceneObjectPart.FromXml(reader); 286 SceneObjectPart Part = SceneObjectPart.FromXml(reader);
287 AddPart(Part); 287 AddPart(Part);
288 } 288 }