mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
un check color managment when no path
This commit is contained in:
parent
076d090de4
commit
ccc1ff3099
1 changed files with 5 additions and 0 deletions
|
|
@ -1886,6 +1886,7 @@ def set_context_settings():
|
|||
|
||||
# Set frame range.
|
||||
avalon.maya.interactive.reset_frame_range()
|
||||
|
||||
# Set colorspace
|
||||
set_colorspace()
|
||||
|
||||
|
|
@ -2781,6 +2782,10 @@ def set_colorspace():
|
|||
log.debug("maya '{}' changed to: {}".format(
|
||||
"configFilePath", resolved_path))
|
||||
root_dict.pop("configFilePath")
|
||||
else :
|
||||
cmds.colorManagementPrefs(e=True, cmConfigFileEnabled=False)
|
||||
cmds.colorManagementPrefs(e=True, configFilePath= "" )
|
||||
|
||||
|
||||
|
||||
# third define rendering space and view transform
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue