Fix T37088: Crash with eyedropper (shortcut E)
This commit is contained in:
parent
6f3f107c59
commit
df060e5d21
Notes:
blender-bot
2023-02-14 11:43:46 +01:00
Referenced by issue #37088, Crash with new eyedropper shortcut (e)
|
@ -6729,6 +6729,8 @@ static int ui_handle_button_event(bContext *C, const wmEvent *event, uiBut *but)
|
|||
// retval = WM_UI_HANDLER_BREAK; XXX why ?
|
||||
}
|
||||
|
||||
/* may have been re-allocated above (eyedropper for eg) */
|
||||
data = but->active;
|
||||
if (data->state == BUTTON_STATE_EXIT) {
|
||||
uiBut *post_but = data->postbut;
|
||||
uiButtonActivateType post_type = data->posttype;
|
||||
|
|
Loading…
Reference in New Issue