You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using the CLI function gltf-transform merge to combine two gltf files.
When I try to merge tho files that refer to a texture with the same name (but PNG is different), the merge function overwrites the first texture.
Hi, thanks for reporting the issue! As a workaround, if you have the option of outputing to a .glb instead of .gltf I believe it will avoid this problem. The error occurs when writing to disk, since both images have the same URI basenames (e.g. BoomBox_normal.png) and the I/O classes do not create separate directories for the textures.
Describe the bug
I am using the CLI function
gltf-transform merge
to combine two gltf files.When I try to merge tho files that refer to a texture with the same name (but PNG is different), the merge function overwrites the first texture.
To Reproduce
Steps to reproduce the behavior:
gltf-transform merge BoomBox.gltf BoomBox_inked.gltf merged\output.gltf
Expected behavior
What I want is that the exported model doesn't overwrite textures with the same name but outputs them separately.
Versions:
The text was updated successfully, but these errors were encountered: