diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index d465eaa..709e0b3 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -348,7 +348,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
348 | { | 348 | { |
349 | m_scene = scene; | 349 | m_scene = scene; |
350 | m_regionHandle = regionHandle; | 350 | m_regionHandle = regionHandle; |
351 | // libomv.types changes UUID to Guid | ||
352 | xmlData = xmlData.Replace("<UUID>", "<Guid>"); | ||
353 | xmlData = xmlData.Replace("</UUID>", "</Guid>"); | ||
351 | 354 | ||
355 | // Handle Nested <UUID><UUID> property | ||
356 | xmlData = xmlData.Replace("<Guid><Guid>", "<UUID><Guid>"); | ||
357 | xmlData = xmlData.Replace("</Guid></Guid>", "</Guid></UUID>"); | ||
352 | StringReader sr = new StringReader(xmlData); | 358 | StringReader sr = new StringReader(xmlData); |
353 | XmlTextReader reader = new XmlTextReader(sr); | 359 | XmlTextReader reader = new XmlTextReader(sr); |
354 | try | 360 | try |
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index ea10fe6..f8e8c9f 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1314,7 +1314,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1314 | public static SceneObjectPart FromXml(XmlReader xmlReader) | 1314 | public static SceneObjectPart FromXml(XmlReader xmlReader) |
1315 | { | 1315 | { |
1316 | // It's not necessary to persist this | 1316 | // It's not necessary to persist this |
1317 | 1317 | ||
1318 | XmlSerializer serializer = new XmlSerializer(typeof (SceneObjectPart)); | 1318 | XmlSerializer serializer = new XmlSerializer(typeof (SceneObjectPart)); |
1319 | SceneObjectPart newobject = (SceneObjectPart) serializer.Deserialize(xmlReader); | 1319 | SceneObjectPart newobject = (SceneObjectPart) serializer.Deserialize(xmlReader); |
1320 | return newobject; | 1320 | return newobject; |