From 21aa325883caac80749dec417411ab678e8f9646 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 3 Aug 2014 19:41:48 +0100 Subject: remove debug msgs at attachments deRez --- .../Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 5bc6631..2c7cd40 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs @@ -1025,9 +1025,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments // Remove the object from the scene so no more updates // are sent. Doing this before the below changes will ensure // updates can't cause "HUD artefacts" - - m_log.WarnFormat("[ATTACHMENTS MODULE]: DeleteSceneObject"); - + m_scene.DeleteSceneObject(so, false, false); // Prepare sog for storage @@ -1037,8 +1035,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments if (saveChanged) { - m_log.WarnFormat("[ATTACHMENTS MODULE]: saveChanged true"); - // We cannot use AbsolutePosition here because that would // attempt to cross the prim as it is detached so.ForEachPart(x => { x.GroupPosition = so.RootPart.AttachedPos; }); @@ -1047,9 +1043,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments } // Now, remove the scripts - m_log.WarnFormat("[ATTACHMENTS MODULE]: remove scripts"); so.RemoveScriptInstances(true); - m_log.WarnFormat("[ATTACHMENTS MODULE]: UpdateDetachedObject done"); } protected SceneObjectGroup RezSingleAttachmentFromInventoryInternal( -- cgit v1.1