mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-04-21 13:19:57 +08:00
Fixed crash in DRACOLoader.js when attributeUniqueIdMap was left
undefined.
This commit is contained in:
parent
c84ba4e34a
commit
c6e718358c
@ -105,7 +105,7 @@ THREE.DRACOLoader.prototype = {
|
||||
THREE.DRACOLoader.getDecoderModule()
|
||||
.then( function ( module ) {
|
||||
scope.decodeDracoFileInternal( rawBuffer, module.decoder, callback,
|
||||
attributeUniqueIdMap );
|
||||
attributeUniqueIdMap || {});
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user