diff --git a/javascript/example/DRACOLoader.js b/javascript/example/DRACOLoader.js index 8fd4c51..d2af5e3 100644 --- a/javascript/example/DRACOLoader.js +++ b/javascript/example/DRACOLoader.js @@ -105,7 +105,7 @@ THREE.DRACOLoader.prototype = { THREE.DRACOLoader.getDecoderModule() .then( function ( module ) { scope.decodeDracoFileInternal( rawBuffer, module.decoder, callback, - attributeUniqueIdMap ); + attributeUniqueIdMap || {}); }); },