diff --git a/indra/newview/fsposingmotion.cpp b/indra/newview/fsposingmotion.cpp index d16e9f5374..6328715411 100644 --- a/indra/newview/fsposingmotion.cpp +++ b/indra/newview/fsposingmotion.cpp @@ -266,7 +266,10 @@ bool FSPosingMotion::allStartingRotationsAreZero() const void FSPosingMotion::setAllRotationsToZero() { for (auto poserJoint_iter = mJointPoses.begin(); poserJoint_iter != mJointPoses.end(); ++poserJoint_iter) + { poserJoint_iter->zeroBaseRotation(); + poserJoint_iter->setRotationDelta(LLQuaternion::DEFAULT); + } } constexpr size_t MaximumUndoQueueLength = 20;