remove debug msgs at attachments deRez

avinationmerge
UbitUmarov 2014-08-03 19:41:48 +01:00
parent 6b3f10790e
commit 21aa325883
1 changed files with 1 additions and 7 deletions

View File

@ -1026,8 +1026,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
// are sent. Doing this before the below changes will ensure // are sent. Doing this before the below changes will ensure
// updates can't cause "HUD artefacts" // updates can't cause "HUD artefacts"
m_log.WarnFormat("[ATTACHMENTS MODULE]: DeleteSceneObject");
m_scene.DeleteSceneObject(so, false, false); m_scene.DeleteSceneObject(so, false, false);
// Prepare sog for storage // Prepare sog for storage
@ -1037,8 +1035,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
if (saveChanged) if (saveChanged)
{ {
m_log.WarnFormat("[ATTACHMENTS MODULE]: saveChanged true");
// We cannot use AbsolutePosition here because that would // We cannot use AbsolutePosition here because that would
// attempt to cross the prim as it is detached // attempt to cross the prim as it is detached
so.ForEachPart(x => { x.GroupPosition = so.RootPart.AttachedPos; }); so.ForEachPart(x => { x.GroupPosition = so.RootPart.AttachedPos; });
@ -1047,9 +1043,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
} }
// Now, remove the scripts // Now, remove the scripts
m_log.WarnFormat("[ATTACHMENTS MODULE]: remove scripts");
so.RemoveScriptInstances(true); so.RemoveScriptInstances(true);
m_log.WarnFormat("[ATTACHMENTS MODULE]: UpdateDetachedObject done");
} }
protected SceneObjectGroup RezSingleAttachmentFromInventoryInternal( protected SceneObjectGroup RezSingleAttachmentFromInventoryInternal(