Restore SP.AbsolutePosition to properly return actual absolute position when sitting

link-sitting
Justin Clark-Casey (justincc) 2013-11-29 01:50:12 +00:00
parent 0785210e29
commit f9193e3c51
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectPart sitPart = ParentPart; SceneObjectPart sitPart = ParentPart;
if (sitPart != null) if (sitPart != null)
return sitPart.AbsolutePosition; return sitPart.AbsolutePosition + (m_pos * sitPart.GetWorldRotation());
} }
return m_pos; return m_pos;