mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2024-11-23 08:34:14 -05:00
Fix primitive.primitive -> primitive.mode
This commit is contained in:
parent
e1bee3b587
commit
d384d3f778
@ -314,7 +314,7 @@ function createGltf(data, modelName, inputPath, outputPath, binary, embed, techn
|
||||
attributes : gltfAttributes,
|
||||
indices : getAccessorIndexId(i),
|
||||
material : getMaterialId(primitives[i].material),
|
||||
primitive : WebGLConstants.TRIANGLES
|
||||
mode : WebGLConstants.TRIANGLES
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user