diff options
author | Jesse Yurkovich <deadpin> | 2021-07-18 03:42:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-18 03:44:02 +0300 |
commit | e82c5c660778b3805f50f3f2901923692c17db2a (patch) | |
tree | ce3aec606db802372c8d7e630e215977bfc1fd20 /release/scripts/modules/bpy | |
parent | 118803893e65c52c02ed274f7be2d60c668d5b56 (diff) |
Fix T89868: Crash showing thumbnail of wide-aspect image
Scaling down images could create images with a width or height of zero.
Clamp at 1 to prevent a crash, also add an assert to scaling functions.
Ref D11956
Diffstat (limited to 'release/scripts/modules/bpy')
0 files changed, 0 insertions, 0 deletions