From a965c4e7cf071c076a320e03390827ea60c6ddf1 Mon Sep 17 00:00:00 2001 From: Angeldark Raymaker Date: Wed, 27 Nov 2024 20:57:49 +0000 Subject: [PATCH] FIRE-34884: Zero everything for Tpose --- indra/newview/fsposingmotion.cpp | 3 +++ 1 file changed, 3 insertions(+) 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;