Merge pull request #86718 from TokageItLab/audio-cache-fix

[4.2] Fix Audio track crossfade in AnimationPlayer does not work
This commit is contained in:
Yuri Sizov 2024-01-15 14:49:08 +01:00 committed by GitHub
commit 24c0d26af1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ void AnimationPlayer::play(const StringName &p_name, double p_custom_blend, floa
}
if (get_current_animation() != p_name) {
_clear_caches();
_clear_playing_caches();
}
c.current.from = &animation_set[name];