소스 검색

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