summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-01-09 18:48:25 +0100
committerGitHub <noreply@github.com>2019-01-09 18:48:25 +0100
commit382f0991ee7ece2a99cfbdbf641d46777b8c8edf (patch)
treedffdf672fa2c55ca7a10d5d70ae9fa307f7683f9
parentfe8cdafbf43419d49a23a3034a198f8ae456cb37 (diff)
parentc7d4807b7b61e6c03c270a1e604bc2c10ed1ceda (diff)
Merge pull request #24865 from guilhermefelipecgs/hide_error_label
[Regression] Hides error_label of state machine on the first time.
-rw-r--r--editor/plugins/animation_state_machine_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/animation_state_machine_editor.cpp b/editor/plugins/animation_state_machine_editor.cpp
index 3741e79ef0..197ee77254 100644
--- a/editor/plugins/animation_state_machine_editor.cpp
+++ b/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();