mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Restore SP.AbsolutePosition to properly return actual absolute position when sitting
This commit is contained in:
@@ -516,7 +516,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
SceneObjectPart sitPart = ParentPart;
|
||||
|
||||
if (sitPart != null)
|
||||
return sitPart.AbsolutePosition;
|
||||
return sitPart.AbsolutePosition + (m_pos * sitPart.GetWorldRotation());
|
||||
}
|
||||
|
||||
return m_pos;
|
||||
|
||||
Reference in New Issue
Block a user