From 55262c8e1c6338662e0cff6563fe500531edfe32 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 24 Jul 2019 18:27:05 +1000 Subject: Allow sitting on attachments, and attaching tings with people sitting on them. Now we have to fix all the viewers that though it would be great to enshrine this bug in viewer side. --- .../Avatar/Attachments/AttachmentsModule.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/CoreModules/Avatar') diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 4afac28..f99cf4c 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs @@ -485,15 +485,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments // group.Name, group.LocalId, sp.Name, attachmentPt, silent); - if (group.GetSittingAvatarsCount() != 0) - { - if (DebugLevel > 0) - m_log.WarnFormat( - "[ATTACHMENTS MODULE]: Ignoring request to attach {0} {1} to {2} on {3} since {4} avatars are still sitting on it", - group.Name, group.LocalId, sp.Name, attachmentPt, group.GetSittingAvatarsCount()); - - return false; - } +//// if (group.GetSittingAvatarsCount() != 0) +//// { +//// if (DebugLevel > 0) +//// m_log.WarnFormat( +//// "[ATTACHMENTS MODULE]: Ignoring request to attach {0} {1} to {2} on {3} since {4} avatars are still sitting on it", +//// group.Name, group.LocalId, sp.Name, attachmentPt, group.GetSittingAvatarsCount()); +//// +//// return false; +//// } List attachments = sp.GetAttachments(attachmentPt); if (attachments.Contains(group)) -- cgit v1.1