mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix AiImage colorspace and UDIMs errored out while extracting the look
This commit is contained in:
parent
1a7164fa90
commit
38c35a87de
1 changed files with 1 additions and 8 deletions
|
|
@ -429,14 +429,7 @@ class ExtractLook(openpype.api.Extractor):
|
|||
# node doesn't have color space attribute
|
||||
color_space = "Raw"
|
||||
else:
|
||||
try:
|
||||
if files_metadata[source]["color_space"] == "Raw":
|
||||
# set color space to raw if we linearized it
|
||||
color_space = "Raw"
|
||||
except KeyError:
|
||||
# set color space to Raw if its attribute is raw.
|
||||
if cmds.getAttr(color_space_attr) == "Raw":
|
||||
color_space = "Raw"
|
||||
color_space = "Raw"
|
||||
# Remap file node filename to destination
|
||||
remap[color_space_attr] = color_space
|
||||
attr = resource["attribute"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue