From 4487e18750b25ad3d0984865a914f336f194f930 Mon Sep 17 00:00:00 2001 From: Micky Date: Tue, 30 Aug 2022 16:44:57 +0200 Subject: [PATCH] Mark Script button if it's tool in Scene Tree Editor Also adds a note on the tooltip if the Script is tool. The color is the same one used on the Script Editor's script list. (cherry picked from commit ad5ff9f78fe0bab4572085803f224026273fd4aa) --- editor/scene_tree_editor.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/editor/scene_tree_editor.cpp b/editor/scene_tree_editor.cpp index 2446a909b..8d82a2fd1 100644 --- a/editor/scene_tree_editor.cpp +++ b/editor/scene_tree_editor.cpp @@ -368,10 +368,18 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent, bool p_scroll Ref