diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 619296e..18877c1e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1205,8 +1205,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1205 | part.ClearUpdateSchedule(); | 1205 | part.ClearUpdateSchedule(); |
1206 | if (part == m_rootPart) | 1206 | if (part == m_rootPart) |
1207 | { | 1207 | { |
1208 | if (!IsAttachment || (AttachedAvatar == avatar.ControllingClient.AgentId) || | 1208 | if (!IsAttachment |
1209 | (AttachmentPoint < 31) || (AttachmentPoint > 38)) | 1209 | || AttachedAvatar == avatar.ControllingClient.AgentId |
1210 | || !HasPrivateAttachmentPoint) | ||
1210 | avatar.ControllingClient.SendKillObject(m_regionHandle, new List<uint> { part.LocalId }); | 1211 | avatar.ControllingClient.SendKillObject(m_regionHandle, new List<uint> { part.LocalId }); |
1211 | } | 1212 | } |
1212 | } | 1213 | } |