mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
backward compatibility fix
studio could have set host config paths but those were not resolving to custom config OCIO environment path. Instead it was always falling back to global ocio config paths settings
This commit is contained in:
parent
724b8d12c4
commit
b94b7ff5de
1 changed files with 4 additions and 0 deletions
|
|
@ -377,6 +377,10 @@ def get_imageio_config(
|
|||
activate_host_color_management = imageio_host.get(
|
||||
"activate_host_color_management", True)
|
||||
|
||||
# TODO: remove this in future - backward compatibility
|
||||
if activate_host_color_management is None:
|
||||
activate_host_color_management = host_ocio_config.get("enabled", False)
|
||||
|
||||
if not activate_host_color_management:
|
||||
# if host settings are disabled return False because
|
||||
# it is expected that no colorspace management is needed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue