瀏覽代碼

Update DRACOLoader.

Don McCurdy 7 年之前
父節點
當前提交
23f9f68d00
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 || {});
           });
     },