diff --git a/pype/nuke/lib.py b/pype/nuke/lib.py index a706753755..ade7e96691 100644 --- a/pype/nuke/lib.py +++ b/pype/nuke/lib.py @@ -1669,6 +1669,7 @@ class ExporterReviewMov(ExporterReview): if any(colorspaces): # OCIOColorSpace with controled output dag_node = nuke.createNode("OCIOColorSpace") + self._temp_nodes.append(dag_node) for c in colorspaces: test = dag_node["out_colorspace"].setValue(str(c)) if test: diff --git a/pype/plugins/global/publish/extract_review.py b/pype/plugins/global/publish/extract_review.py index c0fce645b5..0989965758 100644 --- a/pype/plugins/global/publish/extract_review.py +++ b/pype/plugins/global/publish/extract_review.py @@ -1323,7 +1323,7 @@ class ExtractReview(pyblish.api.InstancePlugin): delivery_ratio_test = float( "{:0.2f}".format(delivery_ratio)) - if resolution_ratio_test < delivery_ratio_test: + if resolution_ratio_test != delivery_ratio_test: scale_factor = float(self.to_width) / ( resolution_width * pixel_aspect) if int(scale_factor * 100) == 100: diff --git a/pype/plugins/global/publish/extract_review_slate.py b/pype/plugins/global/publish/extract_review_slate.py index 1825035aef..3db4b2e97e 100644 --- a/pype/plugins/global/publish/extract_review_slate.py +++ b/pype/plugins/global/publish/extract_review_slate.py @@ -67,9 +67,15 @@ class ExtractReviewSlate(pype.api.Extractor): delivery_ratio_test = float( "{:0.2f}".format(delivery_ratio)) - if resolution_ratio_test < delivery_ratio_test: - scale_factor = float(to_width) / ( - resolution_width * pixel_aspect) + if resolution_ratio_test != delivery_ratio_test: + scale_factor = ( + float(to_width) / ( + resolution_width * pixel_aspect) + ) + if int(scale_factor * 100) == 100: + scale_factor = ( + float(to_height) / resolution_height + ) self.log.debug("__ scale_factor: `{}`".format(scale_factor))