mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 20:00:31 +02:00
fix for partial hand restore after hydra inactive
This commit is contained in:
parent
e48cfb84c1
commit
aea517af46
1 changed files with 2 additions and 2 deletions
|
@ -2018,7 +2018,7 @@ glm::quat JointState::getJointRotation(bool fromBind) const {
|
|||
|
||||
void JointState::restoreRotation(float fraction, float priority) {
|
||||
assert(_fbxJoint != NULL);
|
||||
if (priority == _animationPriority) {
|
||||
if (priority == _animationPriority || _animationPriority == 0.0f) {
|
||||
_rotation = safeMix(_rotation, _fbxJoint->rotation, fraction);
|
||||
_animationPriority = 0.0f;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue