diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 4897cd6..252304b 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -149,7 +149,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
149 | 149 | ||
150 | writer.WriteStartElement(String.Empty, "SceneObjectGroup", String.Empty); | 150 | writer.WriteStartElement(String.Empty, "SceneObjectGroup", String.Empty); |
151 | writer.WriteStartElement(String.Empty, "RootPart", String.Empty); | 151 | writer.WriteStartElement(String.Empty, "RootPart", String.Empty); |
152 | ToOriginalXmlFormat(sceneObject.RootPart, writer); | 152 | ToXmlFormat(sceneObject.RootPart, writer); |
153 | writer.WriteEndElement(); | 153 | writer.WriteEndElement(); |
154 | writer.WriteStartElement(String.Empty, "OtherParts", String.Empty); | 154 | writer.WriteStartElement(String.Empty, "OtherParts", String.Empty); |
155 | 155 | ||
@@ -160,7 +160,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
160 | if (part.UUID != sceneObject.RootPart.UUID) | 160 | if (part.UUID != sceneObject.RootPart.UUID) |
161 | { | 161 | { |
162 | writer.WriteStartElement(String.Empty, "Part", String.Empty); | 162 | writer.WriteStartElement(String.Empty, "Part", String.Empty); |
163 | ToOriginalXmlFormat(part, writer); | 163 | ToXmlFormat(part, writer); |
164 | writer.WriteEndElement(); | 164 | writer.WriteEndElement(); |
165 | } | 165 | } |
166 | } | 166 | } |
@@ -172,7 +172,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
172 | //m_log.DebugFormat("[SERIALIZER]: Finished serialization of SOG {0}, {1}ms", Name, System.Environment.TickCount - time); | 172 | //m_log.DebugFormat("[SERIALIZER]: Finished serialization of SOG {0}, {1}ms", Name, System.Environment.TickCount - time); |
173 | } | 173 | } |
174 | 174 | ||
175 | protected static void ToOriginalXmlFormat(SceneObjectPart part, XmlTextWriter writer) | 175 | protected static void ToXmlFormat(SceneObjectPart part, XmlTextWriter writer) |
176 | { | 176 | { |
177 | SOPToXml2(writer, part, new Dictionary<string, object>()); | 177 | SOPToXml2(writer, part, new Dictionary<string, object>()); |
178 | } | 178 | } |