mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Fix UDIM integration
This commit is contained in:
parent
033d37ca28
commit
1c77d2b002
1 changed files with 4 additions and 1 deletions
|
|
@ -65,7 +65,10 @@ class CollectTextureSet(pyblish.api.InstancePlugin):
|
|||
|
||||
# Mark as UDIM explicitly if it has UDIM tiles.
|
||||
if bool(outputs[0].get("udim")):
|
||||
representation["udim"] = True
|
||||
# The representation for a UDIM sequence should have a `udim` key
|
||||
# that is a list of all udim tiles (str) like: ["1001", "1002"]
|
||||
# strings. See CollectTextures plug-in and Integrators.
|
||||
representation["udim"] = [output["udim"] for output in outputs]
|
||||
|
||||
# TODO: Store color space with the representation
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue