diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 2625f0d7d58..99a718c7a8f 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -4070,25 +4070,29 @@ Ref EditorNode::get_class_icon(const String &p_class, const String &p_f ERR_FAIL_COND_V_MSG(p_class.empty(), nullptr, "Class name cannot be empty."); if (ScriptServer::is_global_class(p_class)) { - Ref icon; - Ref