diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-17 15:44:03 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-08-17 15:44:03 +0200 |
commit | 0511f9d9a7d56c742d87fafdcea8785d40ad14b3 (patch) | |
tree | d4f67d8580a787e7019f1182944419eef1b38a99 | |
parent | e73a4a382ee57c9eb006d7e8f11038643081b12b (diff) | |
parent | 125ae78a89d4d2b8c3ea928b806a2213e64a0adb (diff) | |
download | redot-engine-0511f9d9a7d56c742d87fafdcea8785d40ad14b3.tar.gz |
Merge pull request #80708 from garychia/anim_seek
Ensure methods skipped by `AnimationPlayer::seek` are not called
-rw-r--r-- | scene/animation/animation_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index 0eb832a2dd..9fa3f6871d 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -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); } |