set flag for 8 bone weights

This commit is contained in:
Pascal Grittmann 2024-10-31 17:04:25 +01:00
parent ef8d981267
commit a59fb07e4a

View File

@ -3046,6 +3046,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()) {