mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fixed variable in extract review rescaling
This commit is contained in:
parent
f5e66c87bb
commit
e5477ddc75
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue