Blender Git Loki

Git Commits -> Revision 4f12826

Revision 4f12826 by Eric Cosky (master)
December 16, 2020, 11:13 (GMT)
Fix possible crash with custom (add-on defined) icons

This change is a simple null check on the ID provided to icon_set_image() which
appears to be a legitimate value for the ID when used by some addins
(discovered with PowerSave shortly after syncing to main).

Differential Revision: https://developer.blender.org/D9866

Reviewed by: Julian Eisel

Commit Details:

Full Hash: 4f128269b2dcf453647e7293f68f35173d45486a
Parent Commit: 3fc9fc1
Committed By: Julian Eisel
Lines Changed: +1, -1

1 Modified Path:

/source/blender/editors/interface/interface_icons.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021