mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Nuke: colorspace from node unified
This commit is contained in:
parent
76f312a3ff
commit
9bb36864be
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import shutil
|
||||||
import pyblish.api
|
import pyblish.api
|
||||||
import clique
|
import clique
|
||||||
import nuke
|
import nuke
|
||||||
|
from openpype.hosts.nuke import api as napi
|
||||||
from openpype.pipeline import publish
|
from openpype.pipeline import publish
|
||||||
from openpype.lib import collect_frames
|
from openpype.lib import collect_frames
|
||||||
|
|
||||||
|
|
@ -86,7 +86,7 @@ class NukeRenderLocal(publish.Extractor,
|
||||||
)
|
)
|
||||||
|
|
||||||
ext = node["file_type"].value()
|
ext = node["file_type"].value()
|
||||||
colorspace = node["colorspace"].value()
|
colorspace = napi.get_colorspace_from_node(node)
|
||||||
|
|
||||||
if "representations" not in instance.data:
|
if "representations" not in instance.data:
|
||||||
instance.data["representations"] = []
|
instance.data["representations"] = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue