Fix build on 3.x master.

This commit is contained in:
Relintai 2021-06-08 14:56:30 +02:00
parent 679064ea4f
commit 780ec90655
2 changed files with 14 additions and 0 deletions

View File

@ -50,7 +50,15 @@ SOFTWARE.
#if VERSION_MAJOR < 4
#include "scene/3d/mesh_instance.h"
#if VERSION_MINOR < 4
#include "editor/import/editor_scene_importer_gltf.h"
#else
#include "../../gltf/editor_scene_importer_gltf.h"
#endif
#else
#include "scene/3d/mesh_instance_3d.h"
#include "../../gltf/editor_scene_importer_gltf.h"

View File

@ -48,7 +48,13 @@ SOFTWARE.
#include "core/version.h"
#if VERSION_MAJOR < 4
#if VERSION_MINOR < 4
#include "editor/import/editor_scene_importer_gltf.h"
#else
#include "../../gltf/editor_scene_importer_gltf.h"
#endif
#include "scene/3d/mesh_instance.h"
#else
#include "../../gltf/editor_scene_importer_gltf.h"