|
@@ -867,6 +867,10 @@ THREE.GLTFExporter.prototype = {
|
|
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ if ( map.name ) {
|
|
|
|
+ gltfTexture.name = map.name;
|
|
|
|
+ }
|
|
|
|
+
|
|
outputJSON.textures.push( gltfTexture );
|
|
outputJSON.textures.push( gltfTexture );
|
|
|
|
|
|
var index = outputJSON.textures.length - 1;
|
|
var index = outputJSON.textures.length - 1;
|