You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Ensure methods skipped by AnimationPlayer::seek are not called
This commit is contained in:
@@ -779,7 +779,7 @@ void AnimationPlayer::_animation_process_animation(AnimationData *p_anim, double
|
|||||||
List<int> indices;
|
List<int> indices;
|
||||||
|
|
||||||
if (p_seeked) {
|
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) {
|
if (found_key >= 0) {
|
||||||
indices.push_back(found_key);
|
indices.push_back(found_key);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user