mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update openpype/hosts/flame/hooks/pre_flame_setup.py
Co-authored-by: Fabià Serra Arrizabalaga <fabia.serra92@gmail.com>
This commit is contained in:
parent
aaf8756e18
commit
7be1d97118
1 changed files with 5 additions and 1 deletions
|
|
@ -47,7 +47,11 @@ class FlamePrelaunch(PreLaunchHook):
|
|||
|
||||
imageio_flame = project_settings["flame"]["imageio"]
|
||||
|
||||
# get host imageio settings enabled key if exists
|
||||
# Check whether 'enabled' key from host imageio settings exists
|
||||
# so we can tell if host is using the new colormanagement framework.
|
||||
# If the 'enabled' isn't found we want 'colormanaged' set to True
|
||||
# because prior to the key existing we always did colormanagement for
|
||||
# Flame
|
||||
colormanaged = imageio_flame.get("enabled")
|
||||
# if key was not found, set to True
|
||||
# ensuring backward compatibility
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue