Browse Source

Update DRACOLoader.

Don McCurdy 7 years ago
parent
commit
23f9f68d00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/draco/DRACOLoader.js

+ 1 - 1
examples/js/loaders/draco/DRACOLoader.js

@@ -105,7 +105,7 @@ THREE.DRACOLoader.prototype = {
       THREE.DRACOLoader.getDecoderModule()
           .then( function ( module ) {
             scope.decodeDracoFileInternal( rawBuffer, module.decoder, callback,
-              attributeUniqueIdMap );
+              attributeUniqueIdMap || {});
           });
     },