Pārlūkot izejas kodu

Merge pull request #11601 from dhritzkiv/patch-11

Uncomment usage of TextDecoder in GLTFLoader
Mr.doob 8 gadi atpakaļ
vecāks
revīzija
780de6d6a9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 );
 
 		}