Remove code from DetachSingleAttachmentToInv() that sets group changed on all parts, now that we're performing this check in UpdateKnownItem() for other purposes

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-09-13 22:39:06 +01:00
parent 61affee814
commit 1084d8f6a2
1 changed files with 0 additions and 11 deletions

View File

@ -653,17 +653,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
// Prepare sog for storage
group.AttachedAvatar = UUID.Zero;
group.ForEachPart(
delegate(SceneObjectPart part)
{
// If there are any scripts,
// then always trigger a new object and state persistence in UpdateKnownItem()
if (part.Inventory.ContainsScripts())
group.HasGroupChanged = true;
}
);
group.RootPart.SetParentLocalId(0);
group.IsAttachment = false;
group.AbsolutePosition = group.RootPart.AttachedPos;