forked from Sara.Sync/godot-cpp-template
chore: updated utils
parent
6881f8e84a
commit
f91feba86d
|
@ -1,4 +1,5 @@
|
||||||
#include "register_types.h"
|
#include "register_types.h"
|
||||||
|
#include "utils/register_types.hpp"
|
||||||
#include <gdextension_interface.h>
|
#include <gdextension_interface.h>
|
||||||
#include <godot_cpp/core/class_db.hpp>
|
#include <godot_cpp/core/class_db.hpp>
|
||||||
#include <godot_cpp/core/defs.hpp>
|
#include <godot_cpp/core/defs.hpp>
|
||||||
|
@ -11,6 +12,7 @@ void initialize_gdextension_types(ModuleInitializationLevel p_level)
|
||||||
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
godot_cpp_utils_register_types();
|
||||||
}
|
}
|
||||||
|
|
||||||
//void uninitialize_gdextension_types(ModuleInitializationLevel p_level) {
|
//void uninitialize_gdextension_types(ModuleInitializationLevel p_level) {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 7bdb5e70eb1138c898f4f7382d2906ad6528090f
|
Subproject commit 54fcbcbb6bea3f086b751d80faca1700dba28a51
|
Loading…
Reference in New Issue