Skip to content

Commit

Permalink
Merge pull request #86718 from TokageItLab/audio-cache-fix
Browse files Browse the repository at this point in the history
[4.2] Fix Audio track crossfade in AnimationPlayer does not work
  • Loading branch information
YuriSizov authored Jan 15, 2024
2 parents d5064a7 + d094b57 commit 24c0d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/animation/animation_player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 24c0d26

Please sign in to comment.