Hides error_panel of state machine on the first time.

This commit is contained in:
Guilherme Felipe 2019-01-09 12:14:43 -02:00
parent 5f0e3b6849
commit c7d4807b7b
1 changed files with 1 additions and 0 deletions

View File

@ -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();