Blender Git Commit Log

Git Commits -> Revision 41d4a7b

July 30, 2021, 14: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: 41d4a7b55e9636513b5a8d5d94b53595d792d5e8
Parent Commit: 43a0d4e
Committed By: Fabian Schempp
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