diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-25 00:03:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 00:03:38 +0200 |
commit | a1f0ea5d19dfdd086eea2960e7f7b2f618fb5334 (patch) | |
tree | 304df7252e94fb6c1a8ffefe881b3ca5b4bcff52 /modules/gltf | |
parent | 96401b48ec0fe113a92bd933c23e21785d5977d8 (diff) | |
parent | b2bd4cc792c6ac0b7b34e2e1e1632bcbe80994db (diff) |
Merge pull request #63409 from V-Sekai/gltf-export
Diffstat (limited to 'modules/gltf')
-rw-r--r-- | modules/gltf/gltf_document.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp index 3a89baacdc..aa2ec4a399 100644 --- a/modules/gltf/gltf_document.cpp +++ b/modules/gltf/gltf_document.cpp @@ -6936,15 +6936,6 @@ Error GLTFDocument::append_from_scene(Node *p_node, Ref<GLTFState> state, uint32 state->use_named_skin_binds = p_flags & GLTF_IMPORT_USE_NAMED_SKIN_BINDS; state->discard_meshes_and_materials = p_flags & GLTF_IMPORT_DISCARD_MESHES_AND_MATERIALS; - _convert_scene_node(state, p_node, -1, -1); - if (!state->buffers.size()) { - state->buffers.push_back(Vector<uint8_t>()); - } - for (int32_t ext_i = 0; ext_i < document_extensions.size(); ext_i++) { - Ref<GLTFDocumentExtension> ext = document_extensions[ext_i]; - ERR_CONTINUE(ext.is_null()); - } - for (int32_t ext_i = 0; ext_i < document_extensions.size(); ext_i++) { Ref<GLTFDocumentExtension> ext = document_extensions[ext_i]; ERR_CONTINUE(ext.is_null()); @@ -6955,7 +6946,6 @@ Error GLTFDocument::append_from_scene(Node *p_node, Ref<GLTFState> state, uint32 if (!state->buffers.size()) { state->buffers.push_back(Vector<uint8_t>()); } - return OK; } |