diff options
author | Melanie Thielker | 2008-10-04 05:38:16 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-04 05:38:16 +0000 |
commit | 439589260c6ba0e9866cce38699b8fd328b46fb1 (patch) | |
tree | cfdba8d0aa9f9fe852894f6e13d3d50cf9ec7f2c /OpenSim/Region | |
parent | Add some needed fields to data snapshot (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 7 |
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(); |