diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-30 13:57:16 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-30 13:57:16 +0100 |
| commit | 030dcedf93b3e3ae599504d7ee51091259be1616 (patch) | |
| tree | 00b43fbbfb11de03399beeba19704cba2bf22593 /editor/plugins/animation_player_editor_plugin.cpp | |
| parent | 2f1f1206a97678eda4aa0939982db099e595c485 (diff) | |
| parent | d9950e237072e606cd05c2d162600c3007e4d54f (diff) | |
| download | redot-engine-030dcedf93b3e3ae599504d7ee51091259be1616.tar.gz | |
Merge pull request #84170 from SaracenOne/update_anim_timeline_label
Fix AnimationTimeline time not updating when dragged.
Diffstat (limited to 'editor/plugins/animation_player_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index 440496b948..fad0baaf66 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); } } |
