Merge pull request #98703 from pgrit/master

Set flag for 8 bone weights in GLTFDocument
This commit is contained in:
Thaddeus Crews 2024-11-10 12:12:18 -06:00
commit cd6dad4090
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -3482,6 +3482,7 @@ Error GLTFDocument::_parse_meshes(Ref<GLTFState> p_state) {
}
}
array[Mesh::ARRAY_WEIGHTS] = weights;
flags |= Mesh::ARRAY_FLAG_USE_8_BONE_WEIGHTS;
}
if (!indices.is_empty()) {