From d9950e237072e606cd05c2d162600c3007e4d54f Mon Sep 17 00:00:00 2001 From: Saracen Date: Mon, 30 Oct 2023 01:59:54 +0000 Subject: [PATCH] Fix AnimationTimeline time not updating when dragged. --- editor/plugins/animation_player_editor_plugin.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index 440496b948f..fad0baaf66d 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -1265,7 +1265,9 @@ void AnimationPlayerEditor::_seek_value_changed(float p_value, bool p_set, bool player->seek(pos, true, true); player->seek(pos + delta, true, true); } else { - player->stop(); + if (player->is_playing()) { + player->stop(); + } player->seek(pos, true, true); } }