Nuke: colorspace from node unified

This commit is contained in:
Jakub Jezek 2023-02-28 15:05:16 +01:00
parent 76f312a3ff
commit 9bb36864be
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -4,7 +4,7 @@ import shutil
import pyblish.api
import clique
import nuke
from openpype.hosts.nuke import api as napi
from openpype.pipeline import publish
from openpype.lib import collect_frames
@ -86,7 +86,7 @@ class NukeRenderLocal(publish.Extractor,
)
ext = node["file_type"].value()
colorspace = node["colorspace"].value()
colorspace = napi.get_colorspace_from_node(node)
if "representations" not in instance.data:
instance.data["representations"] = []