Procházet zdrojové kódy

Uncomment usage of TextDecoder in GLTFLoader

The TextDecoder block was added in d681e0f08177659871afda2494e32075f35afc78, but it seems to have been commented out (for debugging purposes, maybe?) in the GLTFLoader.
Daniel Hritzkiv před 8 roky
rodič
revize
f899beae77
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 );
 
 
 		}
 		}
 
 

粤ICP备19079148号