Blender Git Loki

Git Commits -> Revision e82c5c6

Revision e82c5c6 by Jesse Yurkovich (master)
July 18, 2021, 00:44 (GMT)
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

Commit Details:

Full Hash: e82c5c660778b3805f50f3f2901923692c17db2a
Parent Commit: 1188038
Committed By: Campbell Barton
Lines Changed: +9, -2

2 Modified Paths:

/source/blender/editors/render/render_preview.c (+3, -2) (Diff)
/source/blender/imbuf/intern/scaling.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021