mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
fix(global): reformat didnt compare properly resolution float and int
This commit is contained in:
parent
9009e99712
commit
a6af3ca90b
1 changed files with 1 additions and 1 deletions
|
|
@ -196,7 +196,7 @@ class ExtractReview(pyblish.api.InstancePlugin):
|
|||
self.log.debug("heigher then delivery")
|
||||
width_scale = to_width
|
||||
width_half_pad = 0
|
||||
scale_factor = to_width / resolution_width
|
||||
scale_factor = float(to_width) / float(resolution_width)
|
||||
self.log.debug(scale_factor)
|
||||
height_scale = int(
|
||||
resolution_height * scale_factor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue