diff options
Merge commit 'c93c9ea072f319125f466c913f5f4fe1f6864045' into bigmerge
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 09781c7..96766f3 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -536,10 +536,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
536 | so.AttachedAvatar = sp.UUID; | 536 | so.AttachedAvatar = sp.UUID; |
537 | 537 | ||
538 | if (so.RootPart.PhysActor != null) | 538 | if (so.RootPart.PhysActor != null) |
539 | { | 539 | so.RootPart.RemoveFromPhysics(); |
540 | m_scene.PhysicsScene.RemovePrim(so.RootPart.PhysActor); | ||
541 | so.RootPart.PhysActor = null; | ||
542 | } | ||
543 | 540 | ||
544 | so.AbsolutePosition = attachOffset; | 541 | so.AbsolutePosition = attachOffset; |
545 | so.RootPart.AttachedPos = attachOffset; | 542 | so.RootPart.AttachedPos = attachOffset; |