diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-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 8ed58a6..88afee7 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -1824,8 +1824,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1824 | part.ClearUpdateSchedule(); | 1824 | part.ClearUpdateSchedule(); |
1825 | if (part == m_rootPart) | 1825 | if (part == m_rootPart) |
1826 | { | 1826 | { |
1827 | if (!IsAttachment || (AttachedAvatar == avatar.ControllingClient.AgentId) || | 1827 | if (!IsAttachment |
1828 | (AttachmentPoint < 31) || (AttachmentPoint > 38)) | 1828 | || AttachedAvatar == avatar.ControllingClient.AgentId |
1829 | || !HasPrivateAttachmentPoint) | ||
1829 | avatar.ControllingClient.SendKillObject(m_regionHandle, new List<uint> { part.LocalId }); | 1830 | avatar.ControllingClient.SendKillObject(m_regionHandle, new List<uint> { part.LocalId }); |
1830 | } | 1831 | } |
1831 | } | 1832 | } |