FIRE-34884: Add undo to clone

Mirror and Sympathetic were not undo-ing the opposite joint
master
Angeldark Raymaker 2024-12-09 23:36:29 +00:00
parent f1e8230de3
commit ed6cc6319d
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ void FSJointPose::cloneRotationFrom(FSJointPose* fromJoint)
if (!fromJoint)
return;
addToUndo(mRotation, &mUndoneRotationIndex, &mLastSetRotationDeltas, &mTimeLastUpdatedRotation);
mRotation = FSJointRotation(fromJoint->mRotation);
}