Blender Git Commit Log

Git Commits -> Revision 0de54a9

July 26, 2021, 07:51 (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: 0de54a9cfea5a981bfa9fa6ef2fed25a0c0086cc
Parent Commit: c5c4727
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021