Skip to content

Commit 118be16

Browse files
committed
Fix lego demo on progress percent
1 parent d5b1f14 commit 118be16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ async function loadModel( url, onProgress ) {
704704

705705
manager.onProgress = ( url, loaded, total ) => {
706706

707-
loader.setPercentage( loaded / total );
707+
onProgress( loaded / total );
708708

709709
};
710710

0 commit comments

Comments
 (0)