diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index bfc1bd6..db69093 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3759,9 +3759,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
3759 | { | 3759 | { |
3760 | if (grp.HasGroupChanged) // Resizer scripts? | 3760 | if (grp.HasGroupChanged) // Resizer scripts? |
3761 | { | 3761 | { |
3762 | grp.DetachToInventoryPrep(); | 3762 | grp.RootPart.IsAttachment = false; |
3763 | grp.AbsolutePosition = grp.RootPart.AttachedPos; | ||
3764 | // grp.DetachToInventoryPrep(); | ||
3763 | attachmentsModule.UpdateKnownItem(ControllingClient, | 3765 | attachmentsModule.UpdateKnownItem(ControllingClient, |
3764 | grp, grp.GetFromItemID(), grp.OwnerID); | 3766 | grp, grp.GetFromItemID(), grp.OwnerID); |
3767 | grp.RootPart.IsAttachment = true; | ||
3765 | } | 3768 | } |
3766 | } | 3769 | } |
3767 | } | 3770 | } |