Fix AnimationPlayer seeking for Discrete keys

(cherry picked from commit 7ed7ea53e6)
This commit is contained in:
Silc Lizard (Tokage) Renew 2023-12-01 05:26:21 +09:00 committed by Rémi Verschelde
parent d2d7261c1e
commit 871d00c980
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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);