Browse Source

Merge pull request #13219 from mrdoob/fbxloader-improvements

FBXLoader: Use console.error instead of Error when Inflate is missing.
Mr.doob 7 năm trước cách đây
mục cha
commit
3d3a1d51a2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/js/loaders/FBXLoader.js

+ 1 - 1
examples/js/loaders/FBXLoader.js

@@ -3121,7 +3121,7 @@
 
 					if ( window.Zlib === undefined ) {
 
-						throw new Error( 'THREE.FBXLoader: External library Inflate.min.js required, obtain or import from https://github.com/imaya/zlib.js' );
+						console.error( 'THREE.FBXLoader: External library Inflate.min.js required, obtain or import from https://github.com/imaya/zlib.js' );
 
 					}