diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 91afb5615e5..f11f67ff58b 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -3822,16 +3822,13 @@ Ref EditorNode::get_object_icon(const Object *p_object, const String &p Ref EditorNode::get_class_icon(const String &p_class, const String &p_fallback) const { ERR_FAIL_COND_V_MSG(p_class.empty(), NULL, "Class name cannot be empty."); - if (gui_base->has_icon(p_class, "EditorIcons")) { - return gui_base->get_icon(p_class, "EditorIcons"); - } - if (ScriptServer::is_global_class(p_class)) { Ref icon; Ref