From affeef14184af7461ac563bef70655275d3967cd Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Fri, 31 Jan 2025 10:45:52 -0500 Subject: [PATCH] GH-848 Guard sync on theme change for when node is ready --- src/editor/graph/graph_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/graph/graph_edit.cpp b/src/editor/graph/graph_edit.cpp index 13180757..3168f969 100644 --- a/src/editor/graph/graph_edit.cpp +++ b/src/editor/graph/graph_edit.cpp @@ -280,7 +280,7 @@ void OrchestratorGraphEdit::_notification(int p_what) pc->add_theme_stylebox_override("panel", hbox_panel); } - if (is_visible_in_tree()) + if (is_visible_in_tree() && is_node_ready()) _synchronize_graph_with_script(); } }