Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion client/ayon_core/plugins/publish/integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,13 @@ def prepare_representation(

# add template data for colorspaceData
if repre.get("colorspaceData"):
colorspace = repre["colorspaceData"]["colorspace"]
colorspace = repre["colorspaceData"].get("colorspace")
display = repre["colorspaceData"].get("display")
view = repre["colorspaceData"].get("view")
if not colorspace and (display and view):
colorspace = f"{display}_{view}"
elif not colorspace and not display and view:
colorspace = view
# replace spaces with underscores
# pipeline.colorspace.parse_colorspace_from_filepath
# is checking it with underscores too
Expand Down
Loading