Explorar el Código

Merge pull request #11601 from dhritzkiv/patch-11

Uncomment usage of TextDecoder in GLTFLoader
Mr.doob hace 8 años
padre
commit
780de6d6a9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/js/loaders/GLTFLoader.js

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

@@ -666,7 +666,7 @@ THREE.GLTFLoader = ( function () {
 
 
 		if ( window.TextDecoder !== undefined ) {
 		if ( window.TextDecoder !== undefined ) {
 
 
-			//return new TextDecoder().decode( array );
+			return new TextDecoder().decode( array );
 
 
 		}
 		}