mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-19 01:43:12 +02:00
Re/enabled the entity_spell_system's editor plugin, and disabled it's tool menu item.
This commit is contained in:
parent
c16c5d35f4
commit
a21b5a843e
@ -37,7 +37,7 @@ void ESSEditorPlugin::fix_ids(Variant param) {
|
||||
ESSEditorPlugin::ESSEditorPlugin(EditorNode *p_node) {
|
||||
editor = p_node;
|
||||
|
||||
editor->add_tool_menu_item("ESS: make ids unique", this, "fix_ids");
|
||||
//editor->add_tool_menu_item("ESS: make ids unique", this, "fix_ids");
|
||||
}
|
||||
|
||||
ESSEditorPlugin::~ESSEditorPlugin() {
|
||||
|
@ -132,7 +132,9 @@
|
||||
|
||||
#include "singletons/profile_manager.h"
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
#include "editor/ess_editor_plugin.h"
|
||||
#endif
|
||||
|
||||
#include "database/ess_resource_db.cpp"
|
||||
#include "database/ess_resource_db_folders.h"
|
||||
@ -297,9 +299,9 @@ void register_entity_spell_system_types(ModuleRegistrationLevel p_level) {
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
//if (p_level == MODULE_REGISTRATION_LEVEL_EDITOR) {
|
||||
//EditorPlugins::add_by_type<ESSEditorPlugin>();
|
||||
//}
|
||||
if (p_level == MODULE_REGISTRATION_LEVEL_EDITOR) {
|
||||
EditorPlugins::add_by_type<ESSEditorPlugin>();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user