From 0f616ff5d8052b8d7de2ed6af92c3acc07d4349b Mon Sep 17 00:00:00 2001 From: khairul169 Date: Sun, 1 Jul 2018 16:10:20 +0700 Subject: Hide play position if animation node is invalid --- editor/animation_track_editor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/animation_track_editor.cpp') 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 &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(); -- cgit v1.2.3