mirror of https://github.com/CesiumGS/obj2gltf.git
correct property name `primitive`=>`mode`
This commit is contained in:
parent
e1bee3b587
commit
77d7613dd6
|
@ -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