浏览代码

Hides error_panel of state machine on the first time.

Guilherme Felipe 6 年之前
父节点
当前提交
c7d4807b7b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      editor/plugins/animation_state_machine_editor.cpp

+ 1 - 0
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();