aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 980b01f..234eb7d 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1174,7 +1174,11 @@ namespace OpenSim.Region.Framework.Scenes
1174 { 1174 {
1175 part.UpdateFlag = 0; 1175 part.UpdateFlag = 0;
1176 if (part == m_rootPart) 1176 if (part == m_rootPart)
1177 avatar.ControllingClient.SendKillObject(m_regionHandle, part.LocalId); 1177 {
1178 if (!IsAttachment || (AttachedAvatar == avatar.ControllingClient.AgentId) ||
1179 (AttachmentPoint < 31) || (AttachmentPoint > 38))
1180 avatar.ControllingClient.SendKillObject(m_regionHandle, part.LocalId);
1181 }
1178 } 1182 }
1179 }); 1183 });
1180 } 1184 }