mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
local render
This commit is contained in:
parent
7356920f21
commit
8ab05e7701
3 changed files with 5 additions and 7 deletions
|
|
@ -78,7 +78,7 @@ class CollectNukeWrites(pyblish.api.ContextPlugin):
|
|||
"outputDir": os.path.dirname(nuke.filename(node)),
|
||||
"ext": ext, # todo: should be redundant
|
||||
"label": label,
|
||||
"families": ["render"],
|
||||
"families": ["render.local"],
|
||||
"family": "write",
|
||||
"publish": value,
|
||||
"collection": collection,
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ class NukeRenderLocal(pyblish.api.InstancePlugin):
|
|||
order = pyblish.api.ExtractorOrder
|
||||
label = "Render Local"
|
||||
hosts = ["nuke"]
|
||||
families = ["write", "render.local"]
|
||||
families = ["render.local"]
|
||||
|
||||
def process(self, instance):
|
||||
|
||||
|
|
@ -38,11 +38,9 @@ class NukeRenderLocal(pyblish.api.InstancePlugin):
|
|||
self.log.info("End frame: {}".format(last_frame))
|
||||
|
||||
# Render frames
|
||||
result = nuke.execute(
|
||||
nuke.execute(
|
||||
node_subset_name,
|
||||
int(first_frame),
|
||||
int(last_frame)
|
||||
)
|
||||
|
||||
if not result:
|
||||
raise RuntimeError("Comp render failed")
|
||||
self.log.info('Finished render')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue