mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 00:43:49 +02:00
moved the update of last ik to outside the if changed statement
This commit is contained in:
parent
cff0fd470a
commit
363c0cc26f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue