local render

This commit is contained in:
Jakub Jezek 2018-11-30 10:49:38 +01:00
parent 7356920f21
commit 8ab05e7701
3 changed files with 5 additions and 7 deletions

View file

@ -125,7 +125,7 @@ class SubmitDependentImageSequenceJobDeadline(pyblish.api.InstancePlugin):
hosts = ["fusion", "maya", "nuke"] hosts = ["fusion", "maya", "nuke"]
families = [ families = [
"render", "render.deadline",
"renderlayer", "renderlayer",
"imagesequence" "imagesequence"
] ]

View file

@ -78,7 +78,7 @@ class CollectNukeWrites(pyblish.api.ContextPlugin):
"outputDir": os.path.dirname(nuke.filename(node)), "outputDir": os.path.dirname(nuke.filename(node)),
"ext": ext, # todo: should be redundant "ext": ext, # todo: should be redundant
"label": label, "label": label,
"families": ["render"], "families": ["render.local"],
"family": "write", "family": "write",
"publish": value, "publish": value,
"collection": collection, "collection": collection,

View file

@ -14,7 +14,7 @@ class NukeRenderLocal(pyblish.api.InstancePlugin):
order = pyblish.api.ExtractorOrder order = pyblish.api.ExtractorOrder
label = "Render Local" label = "Render Local"
hosts = ["nuke"] hosts = ["nuke"]
families = ["write", "render.local"] families = ["render.local"]
def process(self, instance): def process(self, instance):
@ -38,11 +38,9 @@ class NukeRenderLocal(pyblish.api.InstancePlugin):
self.log.info("End frame: {}".format(last_frame)) self.log.info("End frame: {}".format(last_frame))
# Render frames # Render frames
result = nuke.execute( nuke.execute(
node_subset_name, node_subset_name,
int(first_frame), int(first_frame),
int(last_frame) int(last_frame)
) )
self.log.info('Finished render')
if not result:
raise RuntimeError("Comp render failed")