mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Merge pull request #2258 from Oakfather/bug-gltf
GLTF Export Bug : element not defined
This commit is contained in:
commit
4583c224f0
@ -216,7 +216,7 @@ function buildSkinnedMesh(root_group, scale) {
|
||||
if (tex && tex.uuid) {
|
||||
materials.push(Project.materials[tex.uuid])
|
||||
} else {
|
||||
materials.push(Canvas.emptyMaterials[element.color])
|
||||
materials.push(Canvas.emptyMaterials[child.color])
|
||||
}
|
||||
if (face.vertices && face.vertices.length == 3) {
|
||||
face_vertex_counts.push(3);
|
||||
|
Loading…
Reference in New Issue
Block a user