Avoid a gratuitious KillObject storm on region crossing

0.6.0-stable
Melanie Thielker 2008-10-04 05:38:16 +00:00
parent a489fdfb4f
commit 439589260c
1 changed files with 5 additions and 2 deletions

View File

@ -741,8 +741,11 @@ namespace OpenSim.Region.Environment.Scenes
// It then reappears on the avatar, deselected // It then reappears on the avatar, deselected
// through the full update below // through the full update below
// //
foreach (SceneObjectPart part in m_parts.Values) if (IsSelected)
m_scene.SendKiPrimitive(part.LocalId); {
foreach (SceneObjectPart part in m_parts.Values)
m_scene.SendKiPrimitive(part.LocalId);
}
IsSelected = false; // fudge.... IsSelected = false; // fudge....
ScheduleGroupForFullUpdate(); ScheduleGroupForFullUpdate();