We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33ea720 commit eef0528Copy full SHA for eef0528
spine-godot/spine_godot/register_types.cpp
@@ -80,12 +80,14 @@ static void editor_init_callback() {
80
#ifdef SPINE_GODOT_EXTENSION
81
void initialize_spine_godot_module(ModuleInitializationLevel level) {
82
if (level == MODULE_INITIALIZATION_LEVEL_EDITOR) {
83
+#ifdef TOOLS_ENABLED
84
GDREGISTER_CLASS(SpineAtlasResourceImportPlugin);
85
GDREGISTER_CLASS(SpineJsonResourceImportPlugin);
86
GDREGISTER_CLASS(SpineBinaryResourceImportPlugin);
87
GDREGISTER_CLASS(SpineSkeletonDataResourceInspectorPlugin);
88
GDREGISTER_CLASS(SpineEditorPlugin);
89
EditorPlugins::add_plugin_class(StringName("SpineEditorPlugin"));
90
+#endif
91
}
92
if (level != MODULE_INITIALIZATION_LEVEL_SCENE) return;
93
#else
0 commit comments