Skip to content

Commit

Permalink
Changes after review.
Browse files Browse the repository at this point in the history
  • Loading branch information
mramato committed May 5, 2017
1 parent 60b5d4e commit cecce51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/Pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ Pipeline.processJSON = function(gltf, options) {
* @param {Object} [options.compressTextureCoordinates=false] Flag to run compressTextureCoordinates stage.
* @param {Object} [options.kmcOptions=undefined] Options to pass to the generateModelMaterialsCommon stage, if undefined, stage is not run.
* @param {Object} [options.quantize] Flag to run quantizeAttributes stage.
* @param {Boolean} [options.mergeVertices = false} Flag to merge duplicate vertices, which can produce a smaller model size but greatly increases conversion time.
* @param {Object} [options.preserve=false] Flag to turn optimization pipeline stages on/off to preserve the original glTF hierarchy.
* @param {Boolean} [options.mergeVertices=false} Flag to merge duplicate vertices, which can produce a smaller model size but greatly increases conversion time. This setting only applies when options.preserve is false.
* @param {Object|Object[]} [options.textureCompressionOptions=undefined] Options to pass to the compressTextures stage. If an array of options is given, the textures will be compressed in multiple formats. If undefined, stage is not run.
* @returns {Promise} A promise that resolves to the processed glTF asset.
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/parseArguments.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function parseArguments(args) {
type: 'boolean'
},
'mergeVertices': {
describe: 'Merges duplicate vertices, which can produce a smaller model size but greatly increases conversion time.',
describe: 'Merges duplicate vertices, which can produce a smaller model size but greatly increases conversion time. This setting only applies when preserve is false.',
type: 'boolean'
},
'removeNormals': {
Expand Down

0 comments on commit cecce51

Please sign in to comment.