diff --git a/lib/gltf.js b/lib/gltf.js index b8987ee..001eb61 100644 --- a/lib/gltf.js +++ b/lib/gltf.js @@ -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 }); }