From c6a9ea5948da75c9fa3e5ec158a172febefc1dab Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Wed, 19 Oct 2022 21:02:46 +0200 Subject: [PATCH] Add editor icon --- editor/limbo_ai_editor_plugin.cpp | 3 +-- .../icons_main_screen.svg => icon_limbo_a_i_editor.svg} | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename icons/{unused/icons_main_screen.svg => icon_limbo_a_i_editor.svg} (100%) diff --git a/editor/limbo_ai_editor_plugin.cpp b/editor/limbo_ai_editor_plugin.cpp index c039914..5f23b08 100644 --- a/editor/limbo_ai_editor_plugin.cpp +++ b/editor/limbo_ai_editor_plugin.cpp @@ -985,8 +985,7 @@ LimboAIEditor::~LimboAIEditor() { ///////////////////////// LimboAIEditorPlugin //////////////////////////////// const Ref LimboAIEditorPlugin::get_icon() const { - // TODO: - return nullptr; + return editor->get_gui_base()->get_icon("LimboAIEditor", "EditorIcons"); } void LimboAIEditorPlugin::apply_changes() { diff --git a/icons/unused/icons_main_screen.svg b/icons/icon_limbo_a_i_editor.svg similarity index 100% rename from icons/unused/icons_main_screen.svg rename to icons/icon_limbo_a_i_editor.svg