diff options
Fixed bug that can lead to infinitive loops
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 6fd0cf0..474d434 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -323,6 +323,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
323 | SceneObjectPart Part = SceneObjectPart.FromXml(reader); | 323 | SceneObjectPart Part = SceneObjectPart.FromXml(reader); |
324 | AddPart(Part); | 324 | AddPart(Part); |
325 | } | 325 | } |
326 | else | ||
327 | { | ||
328 | Console.WriteLine("found unexpected element: " + reader.Name); | ||
329 | reader.Read(); | ||
330 | } | ||
326 | break; | 331 | break; |
327 | case XmlNodeType.EndElement: | 332 | case XmlNodeType.EndElement: |
328 | reader.Read(); | 333 | reader.Read(); |
@@ -926,6 +931,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
926 | { | 931 | { |
927 | AbsolutePosition = pos; | 932 | AbsolutePosition = pos; |
928 | m_rootPart.SendTerseUpdateToAllClients(); | 933 | m_rootPart.SendTerseUpdateToAllClients(); |
934 | m_scene.EventManager.TriggerGroupMove(UUID, pos); | ||
929 | } | 935 | } |
930 | 936 | ||
931 | /// <summary> | 937 | /// <summary> |