* Addresses the same issue as last commit on SceneObjectGroup border crossings

0.6.0-stable
Teravus Ovares 2008-09-06 19:40:04 +00:00
parent 6fc23adbc2
commit a97155b106
1 changed files with 8 additions and 0 deletions

View File

@ -410,6 +410,14 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
public SceneObjectGroup(string xmlData)
{
// libomv.types changes UUID to Guid
xmlData = xmlData.Replace("<UUID>", "<Guid>");
xmlData = xmlData.Replace("</UUID>", "</Guid>");
// Handle Nested <UUID><UUID> property
xmlData = xmlData.Replace("<Guid><Guid>", "<UUID><Guid>");
xmlData = xmlData.Replace("</Guid></Guid>", "</Guid></UUID>");
StringReader sr = new StringReader(xmlData);
XmlTextReader reader = new XmlTextReader(sr);
reader.Read();