mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
hound
This commit is contained in:
parent
44a0b0e628
commit
01c965eb9c
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ def _render_preview_animation_max_pre_2024(
|
|||
dib_width = rt.renderWidth
|
||||
dib_height = rt.renderHeight
|
||||
# aspect ratio
|
||||
viewportRatio = dib_width /dib_height
|
||||
viewportRatio = dib_width / dib_height
|
||||
renderRatio = float(res_width / res_height)
|
||||
if viewportRatio <= renderRatio:
|
||||
heightCrop = (dib_width / renderRatio)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue