From b5c366e2c70a50a53f841440324ea2142493630a Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Fri, 6 Jan 2017 17:49:38 -0500 Subject: [PATCH] Fix AO option --- lib/convert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/convert.js b/lib/convert.js index 8a135d8..0242177 100644 --- a/lib/convert.js +++ b/lib/convert.js @@ -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,