Blender Git Commit Log
Git Commits -> Revision c3f6342
Revision c3f6342 by Campbell Barton (lineart-shadow) December 8, 2021, 06: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: c3f6342f41eedcd6072d876004148a678fc8b56e
Parent Commit: cc27d72
Committed By: YimingWu
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)
/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)