Fixed bug that can lead to infinitive loops

afrisby
MW 2007-11-21 12:00:28 +00:00
parent 7cb38712d5
commit e5a0049c16
1 changed files with 6 additions and 0 deletions

View File

@ -323,6 +323,11 @@ namespace OpenSim.Region.Environment.Scenes
SceneObjectPart Part = SceneObjectPart.FromXml(reader);
AddPart(Part);
}
else
{
Console.WriteLine("found unexpected element: " + reader.Name);
reader.Read();
}
break;
case XmlNodeType.EndElement:
reader.Read();
@ -926,6 +931,7 @@ namespace OpenSim.Region.Environment.Scenes
{
AbsolutePosition = pos;
m_rootPart.SendTerseUpdateToAllClients();
m_scene.EventManager.TriggerGroupMove(UUID, pos);
}
/// <summary>