diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 0e48515..428fe1c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -682,7 +682,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
682 | { | 682 | { |
683 | // If this is a linkset, we don't want the physics engine mucking up our group position here. | 683 | // If this is a linkset, we don't want the physics engine mucking up our group position here. |
684 | PhysicsActor actor = PhysActor; | 684 | PhysicsActor actor = PhysActor; |
685 | if (actor != null && ParentID == 0) | 685 | if (ParentID == 0) |
686 | { | 686 | { |
687 | if (actor != null) | 687 | if (actor != null) |
688 | m_groupPosition = actor.Position; | 688 | m_groupPosition = actor.Position; |
@@ -1080,10 +1080,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1080 | { | 1080 | { |
1081 | get | 1081 | get |
1082 | { | 1082 | { |
1083 | if (ParentGroup.IsAttachment) | 1083 | return GroupPosition + (m_offsetPosition * ParentGroup.RootPart.RotationOffset); |
1084 | return GroupPosition; | ||
1085 | |||
1086 | return m_offsetPosition + m_groupPosition; | ||
1087 | } | 1084 | } |
1088 | } | 1085 | } |
1089 | 1086 | ||