From c7d4807b7b61e6c03c270a1e604bc2c10ed1ceda Mon Sep 17 00:00:00 2001 From: Guilherme Felipe Date: Wed, 9 Jan 2019 12:14:43 -0200 Subject: Hides error_panel of state machine on the first time. --- editor/plugins/animation_state_machine_editor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/animation_state_machine_editor.cpp b/editor/plugins/animation_state_machine_editor.cpp index 3741e79ef0..197ee77254 100644 --- a/editor/plugins/animation_state_machine_editor.cpp +++ b/editor/plugins/animation_state_machine_editor.cpp @@ -1340,6 +1340,7 @@ AnimationNodeStateMachineEditor::AnimationNodeStateMachineEditor() { add_child(error_panel); error_label = memnew(Label); error_panel->add_child(error_label); + error_panel->hide(); undo_redo = EditorNode::get_singleton()->get_undo_redo(); -- cgit v1.2.3