add back config option for DracoDecoderModule (#968)

after it was removed a few years ago in the update to 1.4.0
This commit is contained in:
Andreas Plesch 2023-02-01 16:50:37 -05:00 committed by GitHub
parent cbbe207ca9
commit 01eb67158f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ function createDecoderModule() {
// draco_decoder.js or draco_wasm_wrapper.js must be loaded before
// DracoModule is created.
DracoDecoderModule({}).then((module) => {
DracoDecoderModule(dracoDecoderType).then((module) => {
decoderModule = module;
enableButtons();
});