diff options
| author | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2021-09-20 18:24:31 -0700 |
|---|---|---|
| committer | K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> | 2021-10-03 12:37:52 -0700 |
| commit | 1463fc889b65524794f2f7d9cf661aa673d58e06 (patch) | |
| tree | acd6a2a94a13d17b0d2beb7dc443159f998866d5 /modules/gltf/editor_scene_importer_gltf.cpp | |
| parent | 84e4cfbcbe1054be4cdda34b891a2842e1cc6975 (diff) | |
| download | redot-engine-1463fc889b65524794f2f7d9cf661aa673d58e06.tar.gz | |
GLTF for game templates.
Convert GLTF Document to use ImporterMeshInstance3D.
Add a GLTFDocument extension list and an extension for converting the importer mesh instance 3d to mesh instance 3d.
Use GLTF module when the editor tools are disabled.
Modified the render server to be less restrictive on matching blend arrays and have more logging.
Misc bugs with multimesh.
Always index the meshes.
Diffstat (limited to 'modules/gltf/editor_scene_importer_gltf.cpp')
| -rw-r--r-- | modules/gltf/editor_scene_importer_gltf.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gltf/editor_scene_importer_gltf.cpp b/modules/gltf/editor_scene_importer_gltf.cpp index 12796c41d7..25875e7396 100644 --- a/modules/gltf/editor_scene_importer_gltf.cpp +++ b/modules/gltf/editor_scene_importer_gltf.cpp @@ -28,6 +28,7 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ +#if TOOLS_ENABLED #include "editor_scene_importer_gltf.h" #include "gltf_document.h" @@ -60,3 +61,5 @@ Ref<Animation> EditorSceneImporterGLTF::import_animation(const String &p_path, int p_bake_fps) { return Ref<Animation>(); } + +#endif // TOOLS_ENABLED |
