Explorar o código

Merge pull request #24865 from guilhermefelipecgs/hide_error_label

[Regression] Hides error_label of state machine on the first time.
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
382f0991ee
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();