1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00

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

View File

@@ -1340,6 +1340,7 @@ AnimationNodeStateMachineEditor::AnimationNodeStateMachineEditor() {
add_child(error_panel); add_child(error_panel);
error_label = memnew(Label); error_label = memnew(Label);
error_panel->add_child(error_label); error_panel->add_child(error_label);
error_panel->hide();
undo_redo = EditorNode::get_singleton()->get_undo_redo(); undo_redo = EditorNode::get_singleton()->get_undo_redo();