mirror of
https://github.com/Relintai/mesh_data_resource.git
synced 2024-11-12 10:15:21 +01:00
Fix build for the new 3.x branch.
This commit is contained in:
parent
49b594130d
commit
413b8c0f26
@ -59,7 +59,11 @@ Error EditorImportColladaMdr::import(const String &p_source_file, const String &
|
||||
|
||||
Error erri;
|
||||
|
||||
#if VERSION_MAJOR == 3 && VERSION_MINOR > 4
|
||||
Node *n = _importer->import_scene(p_source_file, 0, 15, 0, nullptr, &erri);
|
||||
#else
|
||||
Node *n = _importer->import_scene(p_source_file, 0, 15, nullptr, &erri);
|
||||
#endif
|
||||
|
||||
ERR_FAIL_COND_V(!n, Error::ERR_PARSE_ERROR);
|
||||
|
||||
|
@ -60,7 +60,11 @@ Error EditorImportGLTFMdr::import(const String &p_source_file, const String &p_s
|
||||
|
||||
Error erri;
|
||||
|
||||
#if VERSION_MAJOR == 3 && VERSION_MINOR > 4
|
||||
Node *n = _importer->import_scene(p_source_file, 0, 15, 0, nullptr, &erri);
|
||||
#else
|
||||
Node *n = _importer->import_scene(p_source_file, 0, 15, nullptr, &erri);
|
||||
#endif
|
||||
|
||||
ERR_FAIL_COND_V(!n, Error::ERR_PARSE_ERROR);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user