Fix AnimationPlayer seeking for Discrete keys

This commit is contained in:
Silc Lizard (Tokage) Renew 2023-12-01 05:26:21 +09:00
parent d76c1d0e51
commit 7ed7ea53e6
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ void AnimationPlayer::_process_playback_data(PlaybackData &cd, double p_delta, f
pi.delta = delta;
pi.seeked = p_seeked;
}
pi.is_external_seeking = false;
pi.is_external_seeking = true; // AnimationPlayer doesn't have internal seeking.
pi.looped_flag = looped_flag;
pi.weight = p_blend;
make_animation_instance(cd.from->name, pi);