Tiny performance tweak

0.6.0-stable
Melanie Thielker 2008-10-04 06:57:20 +00:00
parent 439589260c
commit ee4c01f5e6
1 changed files with 1 additions and 2 deletions

View File

@ -743,8 +743,7 @@ namespace OpenSim.Region.Environment.Scenes
// //
if (IsSelected) if (IsSelected)
{ {
foreach (SceneObjectPart part in m_parts.Values) m_scene.SendKiPrimitive(m_rootPart.LocalId);
m_scene.SendKiPrimitive(part.LocalId);
} }
IsSelected = false; // fudge.... IsSelected = false; // fudge....