Add editor icon

This commit is contained in:
Serhii Snitsaruk 2022-10-19 21:02:46 +02:00
parent f4e3f162ec
commit c6a9ea5948
2 changed files with 1 additions and 2 deletions

View File

@ -985,8 +985,7 @@ LimboAIEditor::~LimboAIEditor() {
///////////////////////// LimboAIEditorPlugin ////////////////////////////////
const Ref<Texture> LimboAIEditorPlugin::get_icon() const {
// TODO:
return nullptr;
return editor->get_gui_base()->get_icon("LimboAIEditor", "EditorIcons");
}
void LimboAIEditorPlugin::apply_changes() {

View File

Before

Width:  |  Height:  |  Size: 776 B

After

Width:  |  Height:  |  Size: 776 B