提交 aecc925c 编写于 作者: B Bengt Ove Sannes

GLTF export texture names

上级 01d8fec0
......@@ -867,6 +867,10 @@ THREE.GLTFExporter.prototype = {
};
if ( map.name ) {
gltfTexture.name = map.name;
}
outputJSON.textures.push( gltfTexture );
var index = outputJSON.textures.length - 1;
......
......@@ -891,6 +891,10 @@ 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.
先完成此消息的编辑!
想要评论请 注册