mirror of
https://github.com/CesiumGS/obj2gltf.git
synced 2024-11-27 10:30:16 -05:00
Fix AO option
This commit is contained in:
parent
fdc9b4a3d5
commit
b5c366e2c7
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user