diff --git a/src/editor/plugins/orchestrator_editor_plugin.cpp b/src/editor/plugins/orchestrator_editor_plugin.cpp index 941247b3..3e55ab37 100644 --- a/src/editor/plugins/orchestrator_editor_plugin.cpp +++ b/src/editor/plugins/orchestrator_editor_plugin.cpp @@ -31,8 +31,6 @@ #include #include #include -#include -#include #include #include #include @@ -155,18 +153,7 @@ String OrchestratorPlugin::_get_plugin_name() const Ref OrchestratorPlugin::_get_plugin_icon() const { - Ref icon = ResourceLoader::get_singleton()->load(OScriptLanguage::ICON); - - const double scale = EditorInterface::get_singleton()->get_editor_scale(); - if (UtilityFunctions::is_equal_approx(1.0, scale)) - return icon; - - // Godot automatically scales icons that are part of the Editor pack but does not do - // that with custom icons, we must do this when the display size changes. - const Ref image = icon->get_image(); - image->resize(static_cast(image->get_width() * scale), static_cast(image->get_height() * scale)); - - return ImageTexture::create_from_image(image); + return ResourceLoader::get_singleton()->load(OScriptLanguage::ICON); } String OrchestratorPlugin::get_plugin_online_documentation_url() const