From e5a0049c165af2a6160619a91aa41f871b8a9cef Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 21 Nov 2007 12:00:28 +0000 Subject: [PATCH] Fixed bug that can lead to infinitive loops --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 6fd0cf0f8f..474d434aa9 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -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); } ///