From e5477ddc75e2d00780461c492bd8c86666e7035b Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Thu, 21 May 2020 19:07:57 +0200 Subject: [PATCH] fixed variable in extract review rescaling --- pype/plugins/global/publish/extract_review.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/plugins/global/publish/extract_review.py b/pype/plugins/global/publish/extract_review.py index 0989965758..5b35e727ac 100644 --- a/pype/plugins/global/publish/extract_review.py +++ b/pype/plugins/global/publish/extract_review.py @@ -713,7 +713,7 @@ class ExtractReview(pyblish.api.InstancePlugin): self.log.debug( "Input's resolution ratio is lower then output's" ) - width_scale = int(output_width * scale_factor_by_height) + width_scale = int(input_width * scale_factor_by_height) width_half_pad = int((output_width - width_scale) / 2) height_scale = output_height height_half_pad = 0