瀏覽代碼

Merge pull request #24865 from guilhermefelipecgs/hide_error_label

[Regression] Hides error_label of state machine on the first time.
Rémi Verschelde 6 年之前
父節點
當前提交
382f0991ee
共有 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();