Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2765 from Moonrock-Animation-Studio/udim-publish-fix
Browse files Browse the repository at this point in the history
Avoid renaming udim indexes
  • Loading branch information
kalisp authored Feb 21, 2022
2 parents e4c1e0b + 72a3a2b commit 6ae77d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openpype/plugins/publish/integrate_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ def register(self, instance):
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,
Expand Down

0 comments on commit 6ae77d6

Please sign in to comment.