mesh_data_resource/register_types.cpp

25 lines
505 B
C++
Raw Normal View History

#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"
2020-01-14 23:13:16 +01:00
#include "plugin_gltf/editor_plugin_gltf_mdr.h"
#endif
void register_mesh_data_resource_types() {
ClassDB::register_class<MeshDataResource>();
2020-01-14 23:13:16 +01:00
#ifdef TOOLS_ENABLED
EditorPlugins::add_by_type<EditorPluginColladaMdr>();
2020-01-14 23:13:16 +01:00
EditorPlugins::add_by_type<EditorPluginGLTFMdr>();
#endif
}
void unregister_mesh_data_resource_types() {
}