Преглед изворни кода

Merge pull request #11601 from dhritzkiv/patch-11

Uncomment usage of TextDecoder in GLTFLoader
Mr.doob пре 8 година
родитељ
комит
780de6d6a9
1 измењених фајлова са 1 додато и 1 уклоњено
  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 );
 
 		}