Merge pull request #80708 from garychia/anim_seek

Ensure methods skipped by `AnimationPlayer::seek` are not called
This commit is contained in:
Rémi Verschelde 2023-08-17 15:44:03 +02:00
commit 0511f9d9a7
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -779,7 +779,7 @@ void AnimationPlayer::_animation_process_animation(AnimationData *p_anim, double
List<int> indices;
if (p_seeked) {
int found_key = a->track_find_key(i, p_time);
int found_key = a->track_find_key(i, p_time, Animation::FIND_MODE_EXACT);
if (found_key >= 0) {
indices.push_back(found_key);
}