mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Avoid a gratuitious KillObject storm on region crossing
This commit is contained in:
@@ -741,8 +741,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
// It then reappears on the avatar, deselected
|
||||
// through the full update below
|
||||
//
|
||||
foreach (SceneObjectPart part in m_parts.Values)
|
||||
m_scene.SendKiPrimitive(part.LocalId);
|
||||
if (IsSelected)
|
||||
{
|
||||
foreach (SceneObjectPart part in m_parts.Values)
|
||||
m_scene.SendKiPrimitive(part.LocalId);
|
||||
}
|
||||
|
||||
IsSelected = false; // fudge....
|
||||
ScheduleGroupForFullUpdate();
|
||||
|
||||
Reference in New Issue
Block a user