summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2019-01-09 12:14:43 -0200
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2019-01-09 15:16:41 -0200
commitc7d4807b7b61e6c03c270a1e604bc2c10ed1ceda (patch)
treed76b3993d5096adf9894f8dff2c035d6fd36ab8d /editor/plugins
parent5f0e3b6849681e3a712fe2adc93b2c24c93ee4cd (diff)
Hides error_panel of state machine on the first time.
Diffstat (limited to 'editor/plugins')
-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();