diff options
author | MW | 2007-11-21 12:00:28 +0000 |
---|---|---|
committer | MW | 2007-11-21 12:00:28 +0000 |
commit | e5a0049c165af2a6160619a91aa41f871b8a9cef (patch) | |
tree | db1fccf5d293a1634903cd661ac48ac8475439ca | |
parent | * Did some initial work for prim crossing. Just glue so far. (diff) | |
download | opensim-SC-e5a0049c165af2a6160619a91aa41f871b8a9cef.zip opensim-SC-e5a0049c165af2a6160619a91aa41f871b8a9cef.tar.gz opensim-SC-e5a0049c165af2a6160619a91aa41f871b8a9cef.tar.bz2 opensim-SC-e5a0049c165af2a6160619a91aa41f871b8a9cef.tar.xz |
Fixed bug that can lead to infinitive loops
-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> |