aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorRémi Verschelde2018-03-13 11:51:30 +0100
committerGitHub2018-03-13 11:51:30 +0100
commitb49746f3cd3aeead93f795ed4b08122c46faa413 (patch)
tree3df0e498e891abf6f4125dbac1ca35ad52236024 /editor/plugins
parent4287c7822b8aa06b069e42b44b9aa73396db62f5 (diff)
parentb553b38e7be52003f44bb05165fdae25c5863ab7 (diff)
downloadgodot-b49746f3cd3aeead93f795ed4b08122c46faa413.tar.gz
godot-b49746f3cd3aeead93f795ed4b08122c46faa413.tar.zst
godot-b49746f3cd3aeead93f795ed4b08122c46faa413.zip
Merge pull request #17381 from poke1024/fix-anim-scrub
AnimationPlayer: fix scrubbing after play backwards
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/animation_player_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp
index c22e1cd88..04c9246ae 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);
}