diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-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(); |