mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #773 from pypeclub/bugfix/maya-look-respect-color-space
Maya: Look - respect original texture colorspace when not using maketx
This commit is contained in:
commit
04bd7783f2
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