mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 22:02:15 +01:00
color_space raw to Raw
This commit is contained in:
parent
dbb451e850
commit
084d0d3a9c
1 changed files with 4 additions and 4 deletions
|
|
@ -332,10 +332,10 @@ class ExtractLook(openpype.api.Extractor):
|
|||
if do_maketx and files_metadata[filepath]["color_space"].lower() == "srgb": # noqa: E501
|
||||
linearize = True
|
||||
# set its file node to 'raw' as tx will be linearized
|
||||
files_metadata[filepath]["color_space"] = "raw"
|
||||
files_metadata[filepath]["color_space"] = "Raw"
|
||||
|
||||
if do_maketx:
|
||||
color_space = "Raw"
|
||||
# if do_maketx:
|
||||
# color_space = "Raw"
|
||||
|
||||
source, mode, texture_hash = self._process_texture(
|
||||
filepath,
|
||||
|
|
@ -385,7 +385,7 @@ class ExtractLook(openpype.api.Extractor):
|
|||
# node doesn't have color space attribute
|
||||
color_space = "Raw"
|
||||
else:
|
||||
if files_metadata[source]["color_space"] == "raw":
|
||||
if files_metadata[source]["color_space"] == "Raw":
|
||||
# set color space to raw if we linearized it
|
||||
color_space = "Raw"
|
||||
# Remap file node filename to destination
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue