FIRE-34884: Zero everything for Tpose

meow-7.2.2
Angeldark Raymaker 2024-11-27 20:57:49 +00:00
parent d64022b523
commit a965c4e7cf
1 changed files with 3 additions and 0 deletions

View File

@ -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;