Fix GDExtension template compilation error
This commit is contained in:
parent
f60fa3a7f2
commit
3ce199f628
|
@ -128,8 +128,10 @@ static LimboUtility *_limbo_utility = nullptr;
|
||||||
|
|
||||||
void initialize_limboai_module(ModuleInitializationLevel p_level) {
|
void initialize_limboai_module(ModuleInitializationLevel p_level) {
|
||||||
if (p_level == MODULE_INITIALIZATION_LEVEL_SCENE) {
|
if (p_level == MODULE_INITIALIZATION_LEVEL_SCENE) {
|
||||||
GDREGISTER_CLASS(BehaviorTreeData);
|
#ifdef TOOLS_ENABLED
|
||||||
GDREGISTER_CLASS(BehaviorTreeView);
|
GDREGISTER_CLASS(BehaviorTreeView);
|
||||||
|
#endif // TOOLS_ENABLED
|
||||||
|
GDREGISTER_CLASS(BehaviorTreeData);
|
||||||
#ifdef LIMBOAI_GDEXTENSION
|
#ifdef LIMBOAI_GDEXTENSION
|
||||||
GDREGISTER_CLASS(LimboDebugger);
|
GDREGISTER_CLASS(LimboDebugger);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue