From 3af13c031e7db2d87576eec3742adeda425c6f9b Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 13 Oct 2020 23:24:49 +0200 Subject: [PATCH] store if handles are even set --- pype/plugins/global/publish/extract_review.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pype/plugins/global/publish/extract_review.py b/pype/plugins/global/publish/extract_review.py index 21680177c3..4295842f48 100644 --- a/pype/plugins/global/publish/extract_review.py +++ b/pype/plugins/global/publish/extract_review.py @@ -261,6 +261,8 @@ class ExtractReview(pyblish.api.InstancePlugin): output_frame_start = frame_start_handle output_frame_end = frame_end_handle + handles_are_set = handle_start > 0 or handle_end > 0 + return { "fps": float(instance.data["fps"]), "frame_start": frame_start, @@ -276,7 +278,8 @@ class ExtractReview(pyblish.api.InstancePlugin): "resolution_height": instance.data.get("resolutionHeight"), "origin_repre": repre, "input_is_sequence": self.input_is_sequence(repre), - "without_handles": without_handles + "without_handles": without_handles, + "handles_are_set": handles_are_set } def _ffmpeg_arguments(self, output_def, instance, new_repre, temp_data):