aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 6ff5364..17f02c2 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1486,7 +1486,15 @@ namespace OpenSim.Region.Framework.Scenes
1486 avatar.StandUp(); 1486 avatar.StandUp();
1487 1487
1488 if (!silent) 1488 if (!silent)
1489 {
1489 part.UpdateFlag = 0; 1490 part.UpdateFlag = 0;
1491 if (part == m_rootPart)
1492 {
1493 if (!IsAttachment || (AttachedAvatar == avatar.ControllingClient.AgentId) ||
1494 (AttachmentPoint < 31) || (AttachmentPoint > 38))
1495 avatar.ControllingClient.SendKillObject(m_regionHandle, new List<uint>() {part.LocalId});
1496 }
1497 }
1490 }); 1498 });
1491 } 1499 }
1492 1500