Merge pull request #24865 from guilhermefelipecgs/hide_error_label

[Regression] Hides error_label of state machine on the first time.
This commit is contained in:
Rémi Verschelde 2019-01-09 18:48:25 +01:00 committed by GitHub
commit 382f0991ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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