fix the bug of failing to extract look when UDIM formats used in AiImage

This commit is contained in:
Kayla Man 2022-08-12 21:51:45 +08:00
parent f9f275f6a0
commit cd64ffb8f8

View file

@ -429,9 +429,10 @@ class ExtractLook(openpype.api.Extractor):
# node doesn't have color space attribute
color_space = "Raw"
else:
# get the resolved files
metadata = files_metadata.get(source)
# if the files are unresolved from `source`
# assume color space from the first file of
# if the files are unresolved from `source`
# assume color space from the first file of
# the resource
if not metadata:
first_file = next(iter(resource.get(