Ver Fonte

Merge pull request #24865 from guilhermefelipecgs/hide_error_label

[Regression] Hides error_label of state machine on the first time.
Rémi Verschelde há 6 anos atrás
pai
commit
382f0991ee
1 ficheiros alterados com 1 adições e 0 exclusões
  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();