You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Merge pull request #98703 from pgrit/master
Set flag for 8 bone weights in GLTFDocument
This commit is contained in:
@@ -3482,6 +3482,7 @@ Error GLTFDocument::_parse_meshes(Ref<GLTFState> p_state) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
array[Mesh::ARRAY_WEIGHTS] = weights;
|
array[Mesh::ARRAY_WEIGHTS] = weights;
|
||||||
|
flags |= Mesh::ARRAY_FLAG_USE_8_BONE_WEIGHTS;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!indices.is_empty()) {
|
if (!indices.is_empty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user