mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
resolve conflict
This commit is contained in:
parent
7ecbbba778
commit
68f0602975
1 changed files with 4 additions and 3 deletions
|
|
@ -536,9 +536,10 @@ class ExtractLook(publish.Extractor):
|
|||
]
|
||||
if linearize:
|
||||
if cmds.colorManagementPrefs(query=True, cmEnabled=True):
|
||||
render_colorspace = cmds.colorManagementPrefs(query=True, renderingSpaceName=True) # noqa
|
||||
render_colorspace = cmds.colorManagementPrefs(query=True,
|
||||
renderingSpaceName=True) # noqa
|
||||
config_path = cmds.colorManagementPrefs(query=True,
|
||||
configFilePath=True)
|
||||
configFilePath=True) # noqa
|
||||
if not os.path.exists(config_path):
|
||||
raise RuntimeError("No OCIO config path found!")
|
||||
|
||||
|
|
@ -572,7 +573,7 @@ class ExtractLook(publish.Extractor):
|
|||
"is already linear")
|
||||
else:
|
||||
self.log.warning("cannot guess the colorspace"
|
||||
"color conversion won't be available!")
|
||||
"color conversion won't be available!") # noqa
|
||||
|
||||
|
||||
additional_args.extend(["--colorconfig", config_path])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue