aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-04 05:38:16 +0000
committerMelanie Thielker2008-10-04 05:38:16 +0000
commit439589260c6ba0e9866cce38699b8fd328b46fb1 (patch)
treecfdba8d0aa9f9fe852894f6e13d3d50cf9ec7f2c /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parentAdd some needed fields to data snapshot (diff)
downloadopensim-SC-439589260c6ba0e9866cce38699b8fd328b46fb1.zip
opensim-SC-439589260c6ba0e9866cce38699b8fd328b46fb1.tar.gz
opensim-SC-439589260c6ba0e9866cce38699b8fd328b46fb1.tar.bz2
opensim-SC-439589260c6ba0e9866cce38699b8fd328b46fb1.tar.xz
Avoid a gratuitious KillObject storm on region crossing
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 18322ee..5df1edd 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -741,8 +741,11 @@ namespace OpenSim.Region.Environment.Scenes
741 // It then reappears on the avatar, deselected 741 // It then reappears on the avatar, deselected
742 // through the full update below 742 // through the full update below
743 // 743 //
744 foreach (SceneObjectPart part in m_parts.Values) 744 if (IsSelected)
745 m_scene.SendKiPrimitive(part.LocalId); 745 {
746 foreach (SceneObjectPart part in m_parts.Values)
747 m_scene.SendKiPrimitive(part.LocalId);
748 }
746 749
747 IsSelected = false; // fudge.... 750 IsSelected = false; // fudge....
748 ScheduleGroupForFullUpdate(); 751 ScheduleGroupForFullUpdate();