瀏覽代碼

GLTFLoader: Fixed indentation for json variable declaration

Antonio Gomez 7 年之前
父節點
當前提交
031c8aa566
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/loaders/GLTFLoader.js

+ 1 - 1
examples/js/loaders/GLTFLoader.js

@@ -91,7 +91,7 @@ THREE.GLTFLoader = ( function () {
 
 
 			}
 			}
 
 
-				var json = JSON.parse( content );
+			var json = JSON.parse( content );
 
 
 			if ( json.asset === undefined || json.asset.version[ 0 ] < 2 ) {
 			if ( json.asset === undefined || json.asset.version[ 0 ] < 2 ) {