aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 709e0b3..ffbef8a 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -410,6 +410,14 @@ namespace OpenSim.Region.Environment.Scenes
410 /// </summary> 410 /// </summary>
411 public SceneObjectGroup(string xmlData) 411 public SceneObjectGroup(string xmlData)
412 { 412 {
413 // libomv.types changes UUID to Guid
414 xmlData = xmlData.Replace("<UUID>", "<Guid>");
415 xmlData = xmlData.Replace("</UUID>", "</Guid>");
416
417 // Handle Nested <UUID><UUID> property
418 xmlData = xmlData.Replace("<Guid><Guid>", "<UUID><Guid>");
419 xmlData = xmlData.Replace("</Guid></Guid>", "</Guid></UUID>");
420
413 StringReader sr = new StringReader(xmlData); 421 StringReader sr = new StringReader(xmlData);
414 XmlTextReader reader = new XmlTextReader(sr); 422 XmlTextReader reader = new XmlTextReader(sr);
415 reader.Read(); 423 reader.Read();