From 4cac6276aa54bf1f2cdd507ebbfbbe0d2fad373b Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Mon, 11 Nov 2024 10:01:20 +0100 Subject: [PATCH] Fix GDExtension issues --- register_types.cpp | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/register_types.cpp b/register_types.cpp index 451e072..51b900f 100644 --- a/register_types.cpp +++ b/register_types.cpp @@ -251,25 +251,26 @@ void initialize_limboai_module(ModuleInitializationLevel p_level) { #ifdef TOOLS_ENABLED if (p_level == MODULE_INITIALIZATION_LEVEL_EDITOR) { #ifdef LIMBOAI_GDEXTENSION - GDREGISTER_CLASS(TaskTree); - GDREGISTER_CLASS(TaskButton); - GDREGISTER_CLASS(TaskPaletteSection); - GDREGISTER_CLASS(TaskPalette); - GDREGISTER_CLASS(ActionBanner); - GDREGISTER_CLASS(ModeSwitchButton); - GDREGISTER_CLASS(CompatShortcutBin); - GDREGISTER_CLASS(CompatScreenSelect); - GDREGISTER_CLASS(CompatWindowWrapper); - GDREGISTER_CLASS(LimboDebuggerTab); - GDREGISTER_CLASS(LimboDebuggerPlugin); - GDREGISTER_CLASS(BlackboardPlanEditor); - GDREGISTER_CLASS(EditorInspectorPluginBBPlan); - GDREGISTER_CLASS(EditorPropertyPropertyPath); - GDREGISTER_CLASS(EditorPropertyVariableName); - GDREGISTER_CLASS(EditorInspectorPluginVariableName); - GDREGISTER_CLASS(OwnerPicker); - GDREGISTER_CLASS(LimboAIEditor); - GDREGISTER_CLASS(LimboAIEditorPlugin); + GDREGISTER_INTERNAL_CLASS(TaskTree); + GDREGISTER_INTERNAL_CLASS(TaskButton); + GDREGISTER_INTERNAL_CLASS(TaskPaletteSection); + GDREGISTER_INTERNAL_CLASS(TaskPalette); + GDREGISTER_INTERNAL_CLASS(ActionBanner); + GDREGISTER_INTERNAL_CLASS(ModeSwitchButton); + GDREGISTER_INTERNAL_CLASS(CompatShortcutBin); + GDREGISTER_INTERNAL_CLASS(CompatScreenSelect); + GDREGISTER_INTERNAL_CLASS(CompatWindowWrapper); + GDREGISTER_INTERNAL_CLASS(LimboDebuggerTab); + GDREGISTER_INTERNAL_CLASS(LimboDebuggerPlugin); + GDREGISTER_INTERNAL_CLASS(BlackboardPlanEditor); + GDREGISTER_INTERNAL_CLASS(EditorInspectorPluginBBPlan); + GDREGISTER_INTERNAL_CLASS(EditorInspectorPluginPropertyPath); + GDREGISTER_INTERNAL_CLASS(EditorPropertyPropertyPath); + GDREGISTER_INTERNAL_CLASS(EditorPropertyVariableName); + GDREGISTER_INTERNAL_CLASS(EditorInspectorPluginVariableName); + GDREGISTER_INTERNAL_CLASS(OwnerPicker); + GDREGISTER_INTERNAL_CLASS(LimboAIEditor); + GDREGISTER_INTERNAL_CLASS(LimboAIEditorPlugin); GDREGISTER_INTERNAL_CLASS(TreeSearchPanel); GDREGISTER_INTERNAL_CLASS(TreeSearch); #endif // LIMBOAI_GDEXTENSION