summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com>2023-12-01 05:26:21 +0900
committerSilc Lizard (Tokage) Renew <61938263+TokageItLab@users.noreply.github.com>2023-12-01 05:26:21 +0900
commit7ed7ea53e6221eff6e6bf1e357706533e9a31e8c (patch)
tree925df033ddfba5bc6bf6d360f8974e6a063f9dcf
parentd76c1d0e516fedc535a2e394ab780cac79203477 (diff)
downloadredot-engine-7ed7ea53e6221eff6e6bf1e357706533e9a31e8c.tar.gz
Fix AnimationPlayer seeking for Discrete keys
-rw-r--r--scene/animation/animation_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp
index 6e7aec379b..02b74c9188 100644
--- a/scene/animation/animation_player.cpp
+++ b/scene/animation/animation_player.cpp
@@ -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);