diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 5611b03..8a06fd1 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -583,33 +583,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
583 | 583 | ||
584 | #endregion | 584 | #endregion |
585 | 585 | ||
586 | public void ToXml2(XmlTextWriter writer) | ||
587 | { | ||
588 | //m_log.DebugFormat("[SOG]: Starting serialization of SOG {0} to XML2", Name); | ||
589 | //int time = System.Environment.TickCount; | ||
590 | |||
591 | writer.WriteStartElement(String.Empty, "SceneObjectGroup", String.Empty); | ||
592 | m_rootPart.ToXml(writer); | ||
593 | writer.WriteStartElement(String.Empty, "OtherParts", String.Empty); | ||
594 | |||
595 | lock (m_parts) | ||
596 | { | ||
597 | foreach (SceneObjectPart part in m_parts.Values) | ||
598 | { | ||
599 | if (part.UUID != m_rootPart.UUID) | ||
600 | { | ||
601 | part.ToXml(writer); | ||
602 | } | ||
603 | } | ||
604 | } | ||
605 | |||
606 | writer.WriteEndElement(); // End of OtherParts | ||
607 | SaveScriptedState(writer); | ||
608 | writer.WriteEndElement(); // End of SceneObjectGroup | ||
609 | |||
610 | //m_log.DebugFormat("[SOG]: Finished serialization of SOG {0} to XML2, {1}ms", Name, System.Environment.TickCount - time); | ||
611 | } | ||
612 | |||
613 | public void SaveScriptedState(XmlTextWriter writer) | 586 | public void SaveScriptedState(XmlTextWriter writer) |
614 | { | 587 | { |
615 | XmlDocument doc = new XmlDocument(); | 588 | XmlDocument doc = new XmlDocument(); |