Blender Git Loki

Git Commits -> Revision d097d35

July 26, 2021, 05:54 (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: d097d35be6df2f109839dde4bbc35a31f69faf89
Parent Commit: 9e64fd4
Committed By: Jeroen Bakker
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