moved the update of last ik to outside the if changed statement

This commit is contained in:
amantley 2019-02-25 13:03:28 -08:00
parent cff0fd470a
commit 363c0cc26f

View file

@ -1086,8 +1086,8 @@ void Rig::computeMotionAnimationState(float deltaTime, const glm::vec3& worldPos
_animVars.set("leftFootPoleVectorEnabled", false); _animVars.set("leftFootPoleVectorEnabled", false);
_animVars.set("rightFootPoleVectorEnabled", false); _animVars.set("rightFootPoleVectorEnabled", false);
} }
_lastEnableInverseKinematics = _enableInverseKinematics;
} }
_lastEnableInverseKinematics = _enableInverseKinematics;
} }
_lastForward = forward; _lastForward = forward;
_lastPosition = worldPosition; _lastPosition = worldPosition;