diff options
author | kobewi <kobewi4e@gmail.com> | 2023-01-11 13:39:39 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2023-01-11 14:03:31 +0100 |
commit | da9396881e330e0ec9ede23f9f697da591a1b3c4 (patch) | |
tree | a95c66c4aff9b36a66c1eeb7a97daf29b279305a /editor/plugins/animation_player_editor_plugin.cpp | |
parent | 9c02bf1b116810b2a95009a8f5b9fcc379e7fa78 (diff) |
Split pause() from AnimationPlayer's stop()
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index ec3eb1a494..10f2ce25d9 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -267,7 +267,7 @@ void AnimationPlayerEditor::_stop_pressed() { return; } - player->stop(false); + player->pause(); play->set_pressed(false); stop->set_pressed(true); } @@ -1155,7 +1155,7 @@ void AnimationPlayerEditor::_seek_value_changed(float p_value, bool p_set, bool player->seek_delta(pos, pos - cpos); } else { - player->stop(true); + player->stop(); player->seek(pos, true); } } |