Fix non-root prim sit positions for prims where a sit target has been specified as well.
parent
bd5c414618
commit
70e651a8d1
|
@ -2590,7 +2590,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
//Quaternion result = (sitTargetOrient * vq) * nq;
|
||||
|
||||
m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT;
|
||||
m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT - part.GroupPosition;
|
||||
Rotation = sitTargetOrient;
|
||||
ParentPosition = part.AbsolutePosition;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue