Blender Git Loki

Git Commits -> Revision 27bcbf1

Revision 27bcbf1 by Julian Eisel (master)
October 3, 2020, 16:56 (GMT)
Fix possible un-initialized variable use in UI code

Uncovered by a4aa94c41cb7. Before that, it would actually be a possible `NULL`
pointer dereference.

It would happen if a `UILayout.prop()` was placed with the `full_event` option
set to `True` (or the C equivalent) for a non keymap-item property.
Now this the `full_event` option is ignored then with a warning print.

Commit Details:

Full Hash: 27bcbf19ed1148915644139e69ebe62de7497645
Parent Commit: 3a1cf83
Lines Changed: +30, -26

1 Modified Path:

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