mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
respect original c-space when not using maketx
This commit is contained in:
parent
806ffa74b7
commit
a294b577e3
1 changed files with 5 additions and 4 deletions
|
|
@ -172,10 +172,11 @@ class ExtractLook(pype.api.Extractor):
|
|||
|
||||
cspace = files_metadata[filepath]["color_space"]
|
||||
linearise = False
|
||||
if cspace == "sRGB":
|
||||
linearise = True
|
||||
# set its file node to 'raw' as tx will be linearized
|
||||
files_metadata[filepath]["color_space"] = "raw"
|
||||
if do_maketx:
|
||||
if cspace == "sRGB":
|
||||
linearise = True
|
||||
# set its file node to 'raw' as tx will be linearized
|
||||
files_metadata[filepath]["color_space"] = "raw"
|
||||
|
||||
source, mode, hash = self._process_texture(
|
||||
filepath,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue