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

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()) {