* Addresses the same issue as last commit on SceneObjectGroup border crossings
parent
6fc23adbc2
commit
a97155b106
|
@ -410,6 +410,14 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public SceneObjectGroup(string xmlData)
|
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);
|
StringReader sr = new StringReader(xmlData);
|
||||||
XmlTextReader reader = new XmlTextReader(sr);
|
XmlTextReader reader = new XmlTextReader(sr);
|
||||||
reader.Read();
|
reader.Read();
|
||||||
|
|
Loading…
Reference in New Issue