diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-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 b340bda..d2c6a29 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4366,9 +4366,12 @@ if (m_animator.m_jumping) force.Z = m_animator.m_jumpVelocity; // add for ju | |||
4366 | { | 4366 | { |
4367 | if (grp.HasGroupChanged) // Resizer scripts? | 4367 | if (grp.HasGroupChanged) // Resizer scripts? |
4368 | { | 4368 | { |
4369 | grp.DetachToInventoryPrep(); | 4369 | grp.RootPart.IsAttachment = false; |
4370 | grp.AbsolutePosition = grp.RootPart.AttachedPos; | ||
4371 | // grp.DetachToInventoryPrep(); | ||
4370 | attachmentsModule.UpdateKnownItem(ControllingClient, | 4372 | attachmentsModule.UpdateKnownItem(ControllingClient, |
4371 | grp, grp.GetFromItemID(), grp.OwnerID); | 4373 | grp, grp.GetFromItemID(), grp.OwnerID); |
4374 | grp.RootPart.IsAttachment = true; | ||
4372 | } | 4375 | } |
4373 | } | 4376 | } |
4374 | } | 4377 | } |