mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-07-05 01:15:13 +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()
|
THREE.DRACOLoader.getDecoderModule()
|
||||||
.then( function ( module ) {
|
.then( function ( module ) {
|
||||||
scope.decodeDracoFileInternal( rawBuffer, module.decoder, callback,
|
scope.decodeDracoFileInternal( rawBuffer, module.decoder, callback,
|
||||||
attributeUniqueIdMap );
|
attributeUniqueIdMap || {});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user