From 823b48ffa565ab0f36933b806386945722168e52 Mon Sep 17 00:00:00 2001 From: Stephen Berry Date: Sat, 1 Jun 2024 10:27:01 -0400 Subject: [PATCH] Consistently display script icons for nodes in connect dialog's scene tree editor --- editor/gui/scene_tree_editor.cpp | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/editor/gui/scene_tree_editor.cpp b/editor/gui/scene_tree_editor.cpp index 7e2d6c9d1e2..fc52d7a0aea 100644 --- a/editor/gui/scene_tree_editor.cpp +++ b/editor/gui/scene_tree_editor.cpp @@ -232,23 +232,27 @@ void SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent) { item->set_icon(0, icon); item->set_metadata(0, p_node->get_path()); + if (connecting_signal) { + // Add script icons for all scripted nodes. + Ref