summaryrefslogtreecommitdiffstats
path: root/scene/animation/animation_tree.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-12-11 22:55:46 +0100
committerGitHub <noreply@github.com>2022-12-11 22:55:46 +0100
commit9afcc364cb44f81f3a57887e1f1b1520a1fc91b3 (patch)
tree093021c7caa85e00f7dd5f89a8ddc807ca80686b /scene/animation/animation_tree.cpp
parent51f2d7b59f14e64b6a6a0979332b976d249dee8c (diff)
parentaf7595a9fb9c9c5a612a772ef12ad2778732a1ac (diff)
downloadredot-engine-9afcc364cb44f81f3a57887e1f1b1520a1fc91b3.tar.gz
Merge pull request #69932 from TokageItLab/animtrack-seek-order
Fix seeking process order to retrieve key correctly for AnimationTrack
Diffstat (limited to 'scene/animation/animation_tree.cpp')
-rw-r--r--scene/animation/animation_tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_tree.cpp b/scene/animation/animation_tree.cpp
index c2d584b52f..fbc85bd5e1 100644
--- a/scene/animation/animation_tree.cpp
+++ b/scene/animation/animation_tree.cpp
@@ -1584,8 +1584,8 @@ void AnimationTree::_process_graph(double p_delta) {
}
if (player2->is_playing() || seeked) {
- player2->play(anim_name);
player2->seek(at_anim_pos);
+ player2->play(anim_name);
t->playing = true;
playing_caches.insert(t);
} else {