Skip to content

Commit 171e283

Browse files
authored
Merge pull request #15177 from TyLindberg/draco_prefetch
Prefetch DRACO decoder on DRACO endcoded glTF load
2 parents 6a066f1 + b32c3a7 commit 171e283

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/js/loaders/GLTFLoader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ THREE.GLTFLoader = ( function () {
508508
this.name = EXTENSIONS.KHR_DRACO_MESH_COMPRESSION;
509509
this.json = json;
510510
this.dracoLoader = dracoLoader;
511+
THREE.DRACOLoader.getDecoderModule();
511512

512513
}
513514

0 commit comments

Comments
 (0)