Merge pull request #2765 from Moonrock-Animation-Studio/udim-publish-fix

Avoid renaming udim indexes
This commit is contained in:
Petr Kalis 2022-02-21 12:11:49 +01:00 committed by GitHub
commit 6ae77d6c57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -478,6 +478,8 @@ class IntegrateAssetNew(pyblish.api.InstancePlugin):
if index_frame_start is not None:
dst_padding_exp = "%0{}d".format(frame_start_padding)
dst_padding = dst_padding_exp % (index_frame_start + frame_number) # noqa: E501
elif repre.get("udim"):
dst_padding = int(i)
dst = "{0}{1}{2}".format(
dst_head,