Revert "fix avatar rotation when sitting on a linked part"
Reverting for now to place on separate branch
This reverts commit 65304260af
.
master-beforevarregion
parent
b9e42aeb6e
commit
5aa3236ebe
|
@ -2591,7 +2591,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
//Quaternion result = (sitTargetOrient * vq) * nq;
|
//Quaternion result = (sitTargetOrient * vq) * nq;
|
||||||
|
|
||||||
m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT + part.OffsetPosition;
|
m_pos = sitTargetPos + SIT_TARGET_ADJUSTMENT + part.OffsetPosition;
|
||||||
Rotation = part.RotationOffset * sitTargetOrient;
|
Rotation = sitTargetOrient;
|
||||||
ParentPosition = part.AbsolutePosition;
|
ParentPosition = part.AbsolutePosition;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue