瀏覽代碼

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 );
 
 		}