diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index bb34a459387..d8bc555d6d6 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -3642,17 +3642,12 @@ Ref EditorNode::get_class_icon(const String &p_class, const String &p } if (ScriptServer::is_global_class(p_class)) { - String icon_path = EditorNode::get_editor_data().script_class_get_icon_path(p_class); - Ref icon = _load_custom_class_icon(icon_path); - if (icon.is_valid()) { - return icon; - } - - Ref