未验证 提交 9769ae46 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #17344 from bovesan/gltf-export-texture-names

GLTF export texture names
......@@ -867,6 +867,12 @@ THREE.GLTFExporter.prototype = {
};
if ( map.name ) {
gltfTexture.name = map.name;
}
outputJSON.textures.push( gltfTexture );
var index = outputJSON.textures.length - 1;
......
......@@ -891,6 +891,12 @@ GLTFExporter.prototype = {
};
if ( map.name ) {
gltfTexture.name = map.name;
}
outputJSON.textures.push( gltfTexture );
var index = outputJSON.textures.length - 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册