mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Merge remote-tracking branch 'origin/feature/OP-5207_Global-host-color-management-activation' into feature/OP-5207_Global-host-color-management-activation
This commit is contained in:
commit
c67cfa9cc8
1 changed files with 3 additions and 6 deletions
|
|
@ -47,12 +47,9 @@ class FlamePrelaunch(PreLaunchHook):
|
|||
|
||||
imageio_flame = project_settings["flame"]["imageio"]
|
||||
|
||||
colormanaged = True
|
||||
# check if host settings are having enabled key and if it is False
|
||||
if imageio_flame.get("enabled") and imageio_flame["enabled"] is False:
|
||||
# if host settings are disabled return False because
|
||||
# it is expected that no colorspace management is needed
|
||||
colormanaged = False
|
||||
colormanaged = imageio_flame.get("enabled")
|
||||
if colormanaged is None:
|
||||
colormanaged = True
|
||||
|
||||
# get user name and host name
|
||||
user_name = get_openpype_username()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue