Blender Git Loki

Git Commits -> Revision 8f69c91

Revision 8f69c91 by Campbell Barton (master)
December 2, 2021, 04:53 (GMT)
Fix T93410: Crash hiding a region from Python used by a popover

Close all active buttons when hiding a region as this can be called
from Python a popover is open from that region.

Failure to do this causes the popover to read from the freed button.

Also rename UI_screen_free_active_but to
UI_screen_free_active_but_highlight since it only frees highlighted
buttons.

Commit Details:

Full Hash: 8f69c914080a7fe9555f7126362f08c368a8069d
Parent Commit: 0de1d2e
Lines Changed: +26, -6

5 Modified Paths:

/source/blender/editors/include/UI_interface.h (+3, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+15, -3) (Diff)
/source/blender/editors/interface/interface_ops.c (+1, -1) (Diff)
/source/blender/editors/screen/area.c (+6, -0) (Diff)
/source/blender/editors/screen/screen_edit.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