aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-04 06:57:20 +0000
committerMelanie Thielker2008-10-04 06:57:20 +0000
commitee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c (patch)
tree812ba7c0cac7e9a1afa442a238ed467757da5d47 /OpenSim/Region
parentAvoid a gratuitious KillObject storm on region crossing (diff)
downloadopensim-SC_OLD-ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c.zip
opensim-SC_OLD-ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c.tar.gz
opensim-SC_OLD-ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c.tar.bz2
opensim-SC_OLD-ee4c01f5e6427167c7a1a32be15bd9ed94cd3b3c.tar.xz
Tiny performance tweak
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs3
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....