diff options
| author | Rémi Verschelde | 2018-03-13 11:51:30 +0100 |
|---|---|---|
| committer | GitHub | 2018-03-13 11:51:30 +0100 |
| commit | b49746f3cd3aeead93f795ed4b08122c46faa413 (patch) | |
| tree | 3df0e498e891abf6f4125dbac1ca35ad52236024 /editor/plugins | |
| parent | 4287c7822b8aa06b069e42b44b9aa73396db62f5 (diff) | |
| parent | b553b38e7be52003f44bb05165fdae25c5863ab7 (diff) | |
| download | godot-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.cpp | 1 |
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); } |
