Browse Source

Style fix

Bengt Ove Sannes 6 years ago
parent
commit
7efacc85bc
2 changed files with 4 additions and 0 deletions
  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 ) {
+
 				gltfTexture.name = map.name;
+
 			}
 
 			outputJSON.textures.push( gltfTexture );

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

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