Correct AbsolutePosition calculation

avinationmerge
KittoFlora 2009-12-08 05:49:05 +01:00
parent 0d1d437bd3
commit ee9d46c825
1 changed files with 2 additions and 1 deletions

View File

@ -849,7 +849,8 @@ namespace OpenSim.Region.Framework.Scenes
if (IsAttachment) if (IsAttachment)
return GroupPosition; return GroupPosition;
return m_offsetPosition + m_groupPosition; } // return m_offsetPosition + m_groupPosition; }
return m_groupPosition + (m_offsetPosition * ParentGroup.RootPart.RotationOffset) ; } //KF: Rotation was ignored!
} }
public SceneObjectGroup ParentGroup public SceneObjectGroup ParentGroup