diff options
author | Melanie Thielker | 2008-10-04 06:57:20 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-04 06:57:20 +0000 |
commit | ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c (patch) | |
tree | 812ba7c0cac7e9a1afa442a238ed467757da5d47 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | Avoid a gratuitious KillObject storm on region crossing (diff) | |
download | opensim-SC-ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c.zip opensim-SC-ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c.tar.gz opensim-SC-ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c.tar.bz2 opensim-SC-ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c.tar.xz |
Tiny performance tweak
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 5df1edd..9e605c1 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -743,8 +743,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
743 | // | 743 | // |
744 | if (IsSelected) | 744 | if (IsSelected) |
745 | { | 745 | { |
746 | foreach (SceneObjectPart part in m_parts.Values) | 746 | m_scene.SendKiPrimitive(m_rootPart.LocalId); |
747 | m_scene.SendKiPrimitive(part.LocalId); | ||
748 | } | 747 | } |
749 | 748 | ||
750 | IsSelected = false; // fudge.... | 749 | IsSelected = false; // fudge.... |