ynput / ayon-maya

Maya addon for AYON
Apache License 2.0
6 stars 6 forks source link

Support underscore delimiter for yeti UDIM textures #129

Closed BigRoy closed 5 days ago

BigRoy commented 6 days ago

Changelog Description

Correctly collect sequences with _1001.exr instead of only delimited by . like .1001.exr.

Additional info

Fixes #117

This same function is also used for collecting Ornatrix textures - so it may be worth running a check of publishing ornatrix textures along as well.

Testing notes:

  1. Load a texture file in Yeti with _ delimiter, like: C:/projects/ayontest/asset/char_hero/publish/image/textureMain.Diffuse/v002/ynts_char_hero_textureMain.Diffuse_v002_<UDIM>.png

image image

BigRoy commented 5 days ago

Thanks @LiborBatek can you show me the udim files on disk?

BigRoy commented 5 days ago

Actually - I think I've found it. For whatever reason my filename tested did have more than one dot in the filename so it passed another check. I think I may have fixed your case with https://github.com/ynput/ayon-maya/pull/129/commits/b882f60b5fadb9514817b195529f00a7cb5f8d35

Any chance it's easy for you to try again?