Skip to content

Commit

Permalink
Fix Audio track crossfade in AnimationPlayer does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
TokageItLab committed Jan 2, 2024
1 parent d5064a7 commit d094b57
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 d094b57

Please sign in to comment.