mirror of
https://github.com/Relintai/mesh_data_resource.git
synced 2024-11-12 10:15:21 +01:00
Fix build for 4.0.
This commit is contained in:
parent
4bda19b12b
commit
7de9c25214
@ -29,13 +29,22 @@ SOFTWARE.
|
||||
#include "core/math/transform.h"
|
||||
#include "core/ustring.h"
|
||||
#include "editor/import/editor_import_plugin.h"
|
||||
#include "scene/3d/mesh_instance.h"
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
#include "../mesh_data_resource.h"
|
||||
#include "editor/import/editor_import_collada.h"
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR < 4
|
||||
#include "scene/3d/mesh_instance.h"
|
||||
#else
|
||||
#include "scene/3d/mesh_instance_3d.h"
|
||||
|
||||
#define MeshInstance MeshInstance3D
|
||||
#endif
|
||||
|
||||
class EditorImportColladaMdr : public EditorImportPlugin {
|
||||
|
||||
GDCLASS(EditorImportColladaMdr, EditorImportPlugin);
|
||||
|
@ -29,13 +29,22 @@ SOFTWARE.
|
||||
#include "core/math/transform.h"
|
||||
#include "core/ustring.h"
|
||||
#include "editor/import/editor_import_plugin.h"
|
||||
#include "scene/3d/mesh_instance.h"
|
||||
#include "scene/main/node.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
#include "../mesh_data_resource.h"
|
||||
#include "editor/import/editor_scene_importer_gltf.h"
|
||||
|
||||
#include "core/version.h"
|
||||
|
||||
#if VERSION_MAJOR < 4
|
||||
#include "scene/3d/mesh_instance.h"
|
||||
#else
|
||||
#include "scene/3d/mesh_instance_3d.h"
|
||||
|
||||
#define MeshInstance MeshInstance3D
|
||||
#endif
|
||||
|
||||
class EditorImportGLTFMdr : public EditorImportPlugin {
|
||||
|
||||
GDCLASS(EditorImportGLTFMdr, EditorImportPlugin);
|
||||
|
Loading…
Reference in New Issue
Block a user