Skip to content

Commit f45207b

Browse files
committed
Merge pull request #89329 from TokageItLab/fix-flag-discrete
Fix wrong line of making flag to discrete in AnimationMixer
2 parents 2cb884b + 9ae3f79 commit f45207b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/animation/animation_mixer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,7 @@ void AnimationMixer::_blend_process(double p_delta, bool p_update_only) {
14531453
t->value = Animation::blend_variant(t->value, value, blend);
14541454
}
14551455
} else {
1456+
t->use_discrete = true;
14561457
if (seeked) {
14571458
int idx = a->track_find_key(i, time, is_external_seeking ? Animation::FIND_MODE_NEAREST : Animation::FIND_MODE_EXACT, true);
14581459
if (idx < 0) {
@@ -1476,7 +1477,6 @@ void AnimationMixer::_blend_process(double p_delta, bool p_update_only) {
14761477
}
14771478
}
14781479
}
1479-
t->use_discrete = true;
14801480
}
14811481
} break;
14821482
case Animation::TYPE_METHOD: {

0 commit comments

Comments
 (0)