Fix wrong data passed after recent changes in master
This commit is contained in:
parent
c8c8783088
commit
560c20e067
Notes:
blender-bot
2023-02-14 03:52:45 +01:00
Referenced by issue #99256, Regression: Meta balls segfaulting copy-to-selected
|
@ -4835,7 +4835,7 @@ static int ui_do_but_GRIDTILE(bContext *C,
|
|||
switch (event->val) {
|
||||
case KM_PRESS:
|
||||
/* Extra icons have priority, don't mess with them. */
|
||||
if (ui_but_extra_operator_icon_mouse_over_get(but, data, event)) {
|
||||
if (ui_but_extra_operator_icon_mouse_over_get(but, data->region, event)) {
|
||||
return WM_UI_HANDLER_BREAK;
|
||||
}
|
||||
button_activate_state(C, but, BUTTON_STATE_WAIT_DRAG);
|
||||
|
|
Loading…
Reference in New Issue