diff options
author | KittoFlora | 2009-12-08 05:49:05 +0100 |
---|---|---|
committer | KittoFlora | 2009-12-08 05:49:05 +0100 |
commit | ee9d46c8255840473ed62c3b37270b35af1a9027 (patch) | |
tree | 4dc2395bfa3ce066a244d2620207e6eb6f9d6b5e /OpenSim/Region/Framework/Scenes | |
parent | Fix linked physical daughter prim position update. (diff) | |
download | opensim-SC-ee9d46c8255840473ed62c3b37270b35af1a9027.zip opensim-SC-ee9d46c8255840473ed62c3b37270b35af1a9027.tar.gz opensim-SC-ee9d46c8255840473ed62c3b37270b35af1a9027.tar.bz2 opensim-SC-ee9d46c8255840473ed62c3b37270b35af1a9027.tar.xz |
Correct AbsolutePosition calculation
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index a6382ee..a23c11e 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -849,7 +849,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
849 | if (IsAttachment) | 849 | if (IsAttachment) |
850 | return GroupPosition; | 850 | return GroupPosition; |
851 | 851 | ||
852 | return m_offsetPosition + m_groupPosition; } | 852 | // return m_offsetPosition + m_groupPosition; } |
853 | return m_groupPosition + (m_offsetPosition * ParentGroup.RootPart.RotationOffset) ; } //KF: Rotation was ignored! | ||
853 | } | 854 | } |
854 | 855 | ||
855 | public SceneObjectGroup ParentGroup | 856 | public SceneObjectGroup ParentGroup |