Fix AO option

This commit is contained in:
Sean Lilley 2017-01-06 17:49:38 -05:00
parent fdc9b4a3d5
commit b5c366e2c7

View File

@ -43,7 +43,7 @@ function convert(objFile, outputPath, options) {
return createGltf(data, inputPath, modelName);
})
.then(function(gltf) {
var aoOptions = ao ? {} : undefined;
var aoOptions = ao ? {enable : true} : undefined;
var options = {
binary: binary,
embed: embed,