parent
580b555258
commit
dc540f664d
|
|
@ -269,7 +269,10 @@ class FSJointPose
|
||||||
LLQuaternion newPublicRot = joint->getRotation() * invRot;
|
LLQuaternion newPublicRot = joint->getRotation() * invRot;
|
||||||
|
|
||||||
if (zeroBase)
|
if (zeroBase)
|
||||||
|
{
|
||||||
|
mUserSpecifiedBaseZero = zeroBase;
|
||||||
zeroBaseRotation();
|
zeroBaseRotation();
|
||||||
|
}
|
||||||
|
|
||||||
mRotation.set(newPublicRot);
|
mRotation.set(newPublicRot);
|
||||||
mPosition.set(joint->getPosition() - mBasePosition);
|
mPosition.set(joint->getPosition() - mBasePosition);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue