color_space raw to Raw

This commit is contained in:
karimmozlia 2021-11-17 13:24:54 +02:00
parent d516648e46
commit dbb451e850
2 changed files with 4 additions and 4 deletions

View file

@ -532,7 +532,7 @@ class CollectLook(pyblish.api.InstancePlugin):
color_space = cmds.getAttr(color_space_attr)
except ValueError:
# node doesn't have colorspace attribute
color_space = "raw"
color_space = "Raw"
# Compare with the computed file path, e.g. the one with the <UDIM>
# pattern in it, to generate some logging information about this
# difference

View file

@ -335,7 +335,7 @@ class ExtractLook(openpype.api.Extractor):
files_metadata[filepath]["color_space"] = "raw"
if do_maketx:
color_space = "raw"
color_space = "Raw"
source, mode, texture_hash = self._process_texture(
filepath,
@ -383,11 +383,11 @@ class ExtractLook(openpype.api.Extractor):
color_space = cmds.getAttr(color_space_attr)
except ValueError:
# node doesn't have color space attribute
color_space = "raw"
color_space = "Raw"
else:
if files_metadata[source]["color_space"] == "raw":
# set color space to raw if we linearized it
color_space = "raw"
color_space = "Raw"
# Remap file node filename to destination
remap[color_space_attr] = color_space
attr = resource["attribute"]