Forráskód Böngészése

Merge pull request #11601 from dhritzkiv/patch-11

Uncomment usage of TextDecoder in GLTFLoader
Mr.doob 8 éve
szülő
commit
780de6d6a9
1 módosított fájl, 1 hozzáadás és 1 törlés
  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 ) {
 
-			//return new TextDecoder().decode( array );
+			return new TextDecoder().decode( array );
 
 		}