aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKittoFlora2009-12-08 05:49:05 +0100
committerKittoFlora2009-12-08 05:49:05 +0100
commitee9d46c8255840473ed62c3b37270b35af1a9027 (patch)
tree4dc2395bfa3ce066a244d2620207e6eb6f9d6b5e
parentFix linked physical daughter prim position update. (diff)
downloadopensim-SC_OLD-ee9d46c8255840473ed62c3b37270b35af1a9027.zip
opensim-SC_OLD-ee9d46c8255840473ed62c3b37270b35af1a9027.tar.gz
opensim-SC_OLD-ee9d46c8255840473ed62c3b37270b35af1a9027.tar.bz2
opensim-SC_OLD-ee9d46c8255840473ed62c3b37270b35af1a9027.tar.xz
Correct AbsolutePosition calculation
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs3
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