Restore SP.AbsolutePosition to properly return actual absolute position when sitting
parent
0785210e29
commit
f9193e3c51
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue