mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
check whether the ocio config enabled in maya for colorspace in maya
This commit is contained in:
parent
dc2baf2906
commit
e045cc95be
1 changed files with 0 additions and 2 deletions
|
|
@ -370,7 +370,6 @@ class ExtractLook(publish.Extractor):
|
|||
# if OCIO color management enabled
|
||||
# it wont take the condition of the files_metadata
|
||||
|
||||
# TODO: if do_maketx: linearize=False
|
||||
ocio_maya = cmds.colorManagementPrefs(q=True,
|
||||
cmConfigFileEnabled=True,
|
||||
cmEnabled=True)
|
||||
|
|
@ -430,7 +429,6 @@ class ExtractLook(publish.Extractor):
|
|||
color_space_attr = resource["node"] + ".colorSpace"
|
||||
try:
|
||||
color_space = cmds.getAttr(color_space_attr)
|
||||
self.log.info("current colorspace: {0}".format(color_space))
|
||||
except ValueError:
|
||||
# node doesn't have color space attribute
|
||||
color_space = "Raw"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue