From b553b38e7be52003f44bb05165fdae25c5863ab7 Mon Sep 17 00:00:00 2001 From: Bernhard Liebl Date: Fri, 9 Mar 2018 18:42:24 +0100 Subject: AnimationPlayer: fix scrubbing after play backwards --- editor/plugins/animation_player_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'editor/plugins/animation_player_editor_plugin.cpp') diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index c22e1cd88b..04c9246aed 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -1011,6 +1011,7 @@ void AnimationPlayerEditor::_seek_value_changed(float p_value, bool p_set) { player->seek_delta(pos, pos - cpos); } else { + player->stop(true); player->seek(pos, true); } -- cgit v1.2.3