소스 검색

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 8 년 전
부모
커밋
f899beae77
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 );
 
 		}