2019-12-20 16:14:37 +01:00
|
|
|
#include "register_types.h"
|
|
|
|
|
|
|
|
#include "mesh_data_resource.h"
|
|
|
|
|
|
|
|
#ifdef TOOLS_ENABLED
|
|
|
|
#include "editor/editor_plugin.h"
|
|
|
|
|
2020-01-14 23:13:16 +01:00
|
|
|
#include "plugin_collada/editor_plugin_collada_mdr.h"
|
2019-12-20 16:14:37 +01:00
|
|
|
|
2020-01-14 23:13:16 +01:00
|
|
|
#include "plugin_gltf/editor_plugin_gltf_mdr.h"
|
|
|
|
#endif
|
2019-12-20 16:14:37 +01:00
|
|
|
|
|
|
|
void register_mesh_data_resource_types() {
|
|
|
|
ClassDB::register_class<MeshDataResource>();
|
|
|
|
|
2020-01-14 23:13:16 +01:00
|
|
|
#ifdef TOOLS_ENABLED
|
2019-12-20 16:14:37 +01:00
|
|
|
EditorPlugins::add_by_type<EditorPluginColladaMdr>();
|
2020-01-14 23:13:16 +01:00
|
|
|
|
|
|
|
EditorPlugins::add_by_type<EditorPluginGLTFMdr>();
|
|
|
|
#endif
|
2019-12-20 16:14:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void unregister_mesh_data_resource_types() {
|
|
|
|
}
|