Bengt Ove Sannes %!s(int64=6) %!d(string=hai) anos
pai
achega
7efacc85bc

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