Explorar el Código

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

Mr.doob hace 7 años
padre
commit
877ac910d3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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' );
 
 					}