Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
color_space raw to Raw
Browse files Browse the repository at this point in the history
  • Loading branch information
karimmozilla committed Nov 17, 2021
1 parent dbb451e commit 084d0d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openpype/hosts/maya/plugins/publish/extract_look.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,10 @@ def process_resources(self, instance, staging_dir):
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,
Expand Down Expand Up @@ -385,7 +385,7 @@ def process_resources(self, instance, staging_dir):
# 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
Expand Down

0 comments on commit 084d0d3

Please sign in to comment.