浏览代码

Style fix

Bengt Ove Sannes 6 年之前
父节点
当前提交
7efacc85bc
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      examples/js/exporters/GLTFExporter.js
  2. 2 0
      examples/jsm/exporters/GLTFExporter.js

+ 2 - 0
examples/js/exporters/GLTFExporter.js

@@ -868,7 +868,9 @@ THREE.GLTFExporter.prototype = {
 			};
 			};
 
 
 			if ( map.name ) {
 			if ( map.name ) {
+
 				gltfTexture.name = map.name;
 				gltfTexture.name = map.name;
+
 			}
 			}
 
 
 			outputJSON.textures.push( gltfTexture );
 			outputJSON.textures.push( gltfTexture );

+ 2 - 0
examples/jsm/exporters/GLTFExporter.js

@@ -892,7 +892,9 @@ GLTFExporter.prototype = {
 			};
 			};
 
 
 			if ( map.name ) {
 			if ( map.name ) {
+
 				gltfTexture.name = map.name;
 				gltfTexture.name = map.name;
+
 			}
 			}
 
 
 			outputJSON.textures.push( gltfTexture );
 			outputJSON.textures.push( gltfTexture );