Fixed crash in DRACOLoader.js when attributeUniqueIdMap was left

undefined.
This commit is contained in:
Ondrej Stava 2018-01-18 08:57:40 -08:00
parent c84ba4e34a
commit c6e718358c

View File

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