Merge branch 'bugfix/ocio-v2-aces1.3-display-resolving-error' into bugfix/some-batchdelivery-related-issues

This commit is contained in:
Jakub Jezek 2025-05-16 06:27:39 +02:00
commit 3691dd60ca
No known key found for this signature in database
GPG key ID: 06DBD609ADF27FD9

View file

@ -1403,7 +1403,12 @@ def _get_display_view_colorspace_name(config_path, display, view):
"""
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):