Blender Git Loki

Git Commits -> Revision f8a3636

Revision f8a3636 by Campbell Barton (master)
June 23, 2018, 08:31 (GMT)
UI: alternate fix for empty context menu

block and layout could be NULL and checking this everywhere
wasn't practical.

Instead of lazy initializing, add UI_popup_menu_end_or_cancel
which cancels empty popup menus.

Commit Details:

Full Hash: f8a3636374b76f6db31be21beaa0e40857644bc4
Parent Commit: 6cd0484
Lines Changed: +46, -45

4 Modified Paths:

/source/blender/editors/include/UI_interface.h (+3, -0) (Diff)
/source/blender/editors/interface/interface.c (+10, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+18, -44) (Diff)
/source/blender/editors/interface/interface_region_menu_popup.c (+15, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021