mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[godot] Clean-up register_types.
This commit is contained in:
parent
a194648f3a
commit
dd163d9a81
@ -28,9 +28,7 @@
|
||||
*****************************************************************************/
|
||||
|
||||
#include "register_types.h"
|
||||
|
||||
#include "core/class_db.h"
|
||||
|
||||
#include "SpineAtlasResource.h"
|
||||
#include "SpineSkeletonFileResource.h"
|
||||
#include "SpineSkeletonDataResource.h"
|
||||
@ -55,24 +53,20 @@
|
||||
#include "SpineConstant.h"
|
||||
#include "SpineCollisionShapeProxy.h"
|
||||
|
||||
|
||||
static Ref<SpineAtlasResourceFormatLoader> atlas_loader;
|
||||
static Ref<SpineAtlasResourceFormatSaver> atlas_saver;
|
||||
static Ref<SpineSkeletonFileResourceFormatLoader> skeleton_file_loader;
|
||||
static Ref<SpineSkeletonFileResourceFormatSaver> skeleton_file_saver;
|
||||
|
||||
// editor plugin
|
||||
#ifdef TOOLS_ENABLED
|
||||
#include "editor/editor_export.h"
|
||||
#include "editor/editor_node.h"
|
||||
|
||||
#include "SpineRuntimeEditorPlugin.h"
|
||||
|
||||
static void editor_init_callback() {
|
||||
EditorNode::get_singleton()->add_editor_plugin(memnew(SpineRuntimeEditorPlugin(EditorNode::get_singleton())));
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
void register_spine_godot_types() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user