浏览代码

FBXLoader: Use console.error instead of Error when Inflate is missing.

Mr.doob 7 年之前
父节点
当前提交
877ac910d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/loaders/FBXLoader.js

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

@@ -3121,7 +3121,7 @@
 
 
 					if ( window.Zlib === undefined ) {
 					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' );
 
 
 					}
 					}