From a59fb07e4ad09651a5a86857fe30689e85b5a772 Mon Sep 17 00:00:00 2001 From: Pascal Grittmann Date: Thu, 31 Oct 2024 17:04:25 +0100 Subject: [PATCH] set flag for 8 bone weights --- modules/gltf/gltf_document.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp index 0a487430a36..ab7f3bdc52d 100644 --- a/modules/gltf/gltf_document.cpp +++ b/modules/gltf/gltf_document.cpp @@ -3046,6 +3046,7 @@ Error GLTFDocument::_parse_meshes(Ref p_state) { } } array[Mesh::ARRAY_WEIGHTS] = weights; + flags |= Mesh::ARRAY_FLAG_USE_8_BONE_WEIGHTS; } if (!indices.is_empty()) {