diff --git a/pype/plugins/global/publish/extract_burnin.py b/pype/plugins/global/publish/extract_burnin.py index 086a1fdfb2..f136a2fdac 100644 --- a/pype/plugins/global/publish/extract_burnin.py +++ b/pype/plugins/global/publish/extract_burnin.py @@ -18,7 +18,7 @@ class ExtractBurnin(pype.api.Extractor): label = "Extract burnins" order = pyblish.api.ExtractorOrder + 0.03 families = ["review", "burnin"] - hosts = ["nuke", "maya", "shell"] + hosts = ["nuke", "maya", "shell", "nukestudio"] optional = True def process(self, instance): @@ -185,7 +185,7 @@ class ExtractBurnin(pype.api.Extractor): self.log.debug("Output: {}".format(output)) repre_update = { - "anatomy_template": "render", + "anatomy_template": repre.get("anatomy_template", "render"), "files": movieFileBurnin, "name": repre["name"], "tags": [x for x in repre["tags"] if x != "delete"] diff --git a/pype/plugins/global/publish/extract_review.py b/pype/plugins/global/publish/extract_review.py index c8a8510fb2..7c5f90b135 100644 --- a/pype/plugins/global/publish/extract_review.py +++ b/pype/plugins/global/publish/extract_review.py @@ -20,15 +20,15 @@ class ExtractReview(pyblish.api.InstancePlugin): label = "Extract Review" order = pyblish.api.ExtractorOrder + 0.02 families = ["review"] - hosts = ["nuke", "maya", "shell"] + hosts = ["nuke", "maya", "shell", "nukestudio"] outputs = {} ext_filter = [] to_width = 1920 to_height = 1080 - def process(self, instance): + def process(self, instance): output_profiles = self.outputs or {} inst_data = instance.data @@ -170,7 +170,8 @@ class ExtractReview(pyblish.api.InstancePlugin): frame_start_handle = frame_start - handle_start frame_end_handle = frame_end + handle_end if isinstance(repre["files"], list): - if frame_start_handle != repre.get("detectedStart", frame_start_handle): + if frame_start_handle != repre.get( + "detectedStart", frame_start_handle): frame_start_handle = repre.get("detectedStart") # exclude handle if no handles defined