diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 3e3f032..6496a25 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1108,12 +1108,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1108 | 1108 | ||
1109 | public Vector3 AbsolutePosition | 1109 | public Vector3 AbsolutePosition |
1110 | { | 1110 | { |
1111 | get { | 1111 | get |
1112 | if (IsAttachment) | 1112 | { |
1113 | return GroupPosition + (m_offsetPosition * ParentGroup.RootPart.RotationOffset); | 1113 | return GroupPosition + (m_offsetPosition * ParentGroup.RootPart.RotationOffset); |
1114 | 1114 | } | |
1115 | // return m_offsetPosition + m_groupPosition; } | ||
1116 | return m_groupPosition + (m_offsetPosition * ParentGroup.RootPart.RotationOffset) ; } //KF: Rotation was ignored! | ||
1117 | } | 1115 | } |
1118 | 1116 | ||
1119 | public SceneObjectGroup ParentGroup | 1117 | public SceneObjectGroup ParentGroup |