Support UDIM images

This commit is contained in:
Sybren A. Stüvel
2022-02-18 16:12:41 +01:00
parent 4ebd535b5f
commit 843c34c3c0
12 changed files with 51 additions and 4 deletions
+1 -1
View File
@@ -555,7 +555,7 @@ class Packer:
def _copy_asset_and_deps(self, asset_path: pathlib.Path, action: AssetAction):
# Copy the asset itself, but only if it's not a sequence (sequences are
# handled below in the for-loop).
if "*" not in str(asset_path):
if "*" not in str(asset_path) and '<UDIM>' not in asset_path.name:
packed_path = action.new_path
assert packed_path is not None
read_path = action.read_from or asset_path