mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Updates color space handling in OIIO transcode.
Temporarily disables upstream OCIO color space logic. Uses 'colorspaceDisplay' and 'colorspaceView' instead. This is a temporary workaround.
This commit is contained in:
parent
bd48482746
commit
db2c1858d5
1 changed files with 6 additions and 3 deletions
|
|
@ -88,9 +88,12 @@ class ExtractOIIOTranscode(publish.Extractor):
|
|||
repres = instance.data["representations"]
|
||||
for idx, repre in enumerate(list(repres)):
|
||||
# target space, display and view might be defined upstream
|
||||
target_colorspace = instance.data.get("targetOCIOColorspace")
|
||||
target_display = instance.data.get("targetOCIODisplay")
|
||||
target_view = instance.data.get("targetOCIOView")
|
||||
# TODO: address https://github.com/ynput/ayon-core/pull/1268#discussion_r2156555474
|
||||
# Implement upstream logic to handle target_colorspace,
|
||||
# target_display, target_view in other DCCs
|
||||
target_colorspace = False
|
||||
target_display = instance.data.get("colorspaceDisplay")
|
||||
target_view = instance.data.get("colorspaceView")
|
||||
|
||||
self.log.debug("repre ({}): `{}`".format(idx + 1, repre["name"]))
|
||||
if not self._repre_is_valid(repre):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue