Prevent leftover attachments from clogging up the pipes

viewer-2-initial-appearance
Melanie 2010-11-16 22:26:07 +01:00
parent 7bb005b0d1
commit 390c3a3b6f
1 changed files with 4 additions and 1 deletions

View File

@ -3759,9 +3759,12 @@ namespace OpenSim.Region.Framework.Scenes
{
if (grp.HasGroupChanged) // Resizer scripts?
{
grp.DetachToInventoryPrep();
grp.RootPart.IsAttachment = false;
grp.AbsolutePosition = grp.RootPart.AttachedPos;
// grp.DetachToInventoryPrep();
attachmentsModule.UpdateKnownItem(ControllingClient,
grp, grp.GetFromItemID(), grp.OwnerID);
grp.RootPart.IsAttachment = true;
}
}
}