mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge branch 'bugfix/ocio-v2-aces1.3-display-resolving-error' into bugfix/some-batchdelivery-related-issues
This commit is contained in:
commit
3691dd60ca
1 changed files with 6 additions and 1 deletions
|
|
@ -1403,7 +1403,12 @@ def _get_display_view_colorspace_name(config_path, display, view):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
config = _get_ocio_config(config_path)
|
config = _get_ocio_config(config_path)
|
||||||
return config.getDisplayViewColorSpaceName(display, view)
|
colorspace = config.getDisplayViewColorSpaceName(display, view)
|
||||||
|
# Special token. See https://opencolorio.readthedocs.io/en/latest/guides/authoring/authoring.html#shared-views # noqa
|
||||||
|
if colorspace == "<USE_DISPLAY_NAME>":
|
||||||
|
colorspace = display
|
||||||
|
|
||||||
|
return colorspace
|
||||||
|
|
||||||
|
|
||||||
def _get_ocio_config_colorspaces(config_path):
|
def _get_ocio_config_colorspaces(config_path):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue