kcoley / gltf2usd

command-line utility for converting glTF 2.0 models to USD
MIT License
263 stars 39 forks source link

GLTF Material names not preserved #135

Closed nikunjarora12345 closed 5 years ago

nikunjarora12345 commented 5 years ago

After conversion to usdz, materials are renamed as "pbrmaterial_0" and similar instead of retaining the original names. Is retaining the original names possible?

kcoley commented 5 years ago

Hi @nikunjarora12345 . I can make an update to make the names match the original if possible, as long as the name does not cause path conflicts in USD.

nikunjarora12345 commented 5 years ago

@kcoley Thanks a lot. Hoping for a positive result.

kcoley commented 5 years ago

@nikunjarora12345 sorry for the delay. Just merged a fix for this.