Prevent leftover attachments from clogging up the pipes
parent
7bb005b0d1
commit
390c3a3b6f
|
@ -3759,9 +3759,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
{
|
{
|
||||||
if (grp.HasGroupChanged) // Resizer scripts?
|
if (grp.HasGroupChanged) // Resizer scripts?
|
||||||
{
|
{
|
||||||
grp.DetachToInventoryPrep();
|
grp.RootPart.IsAttachment = false;
|
||||||
|
grp.AbsolutePosition = grp.RootPart.AttachedPos;
|
||||||
|
// grp.DetachToInventoryPrep();
|
||||||
attachmentsModule.UpdateKnownItem(ControllingClient,
|
attachmentsModule.UpdateKnownItem(ControllingClient,
|
||||||
grp, grp.GetFromItemID(), grp.OwnerID);
|
grp, grp.GetFromItemID(), grp.OwnerID);
|
||||||
|
grp.RootPart.IsAttachment = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue