diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-07-04 15:03:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-04 15:03:39 +0200 |
commit | db977319329fbd02591bde242093e5821626f3ba (patch) | |
tree | c408cdfe6386fcb5a1c3233774b58c9c16d79e10 | |
parent | 0b7df80eb1b1f6415b397f0ac115da5014b7b8a8 (diff) | |
parent | 0f616ff5d8052b8d7de2ed6af92c3acc07d4349b (diff) |
Merge pull request #19882 from khairul169/trackedit_playposition
Hide play position in animation editor if no animation node is selected
-rw-r--r-- | editor/animation_track_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 02d667031a..293684f48e 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -874,9 +874,11 @@ void AnimationTimelineEdit::set_animation(const Ref<Animation> &p_animation) { if (animation.is_valid()) { len_hb->show(); add_track->show(); + play_position->show(); } else { len_hb->hide(); add_track->hide(); + play_position->hide(); } update(); update_values(); |