Blender Git Loki

Git Commits -> Revision ef2151d

Revision ef2151d by Julian Eisel (master)
December 15, 2020, 11:05 (GMT)
Fix T83776: Crashes with add-on's icon preview in menus

Apparently the ID pointer can be NULL, which most code here assumes is
not the case. But it's very fragile & finicky, there is one code path
were it's allowed to be NULL.

Add necessary NULL-checks, an assert as sanity check and a comment to
note the possibility of NULL.

Commit Details:

Full Hash: ef2151d73de87b3e7be631b6712283a727f8d4a6
Parent Commit: 1b130f1
Lines Changed: +5, -3

1 Modified Path:

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