2.5
Bugreport; on dragging area edges, the mouse-release event was swallowed by the panel animation handler. Thanks Pablo Vazquez for report. :)
This commit is contained in:
parent
5d6ef223fb
commit
d55b460419
|
@ -1288,6 +1288,7 @@ int ui_handler_panel_region(bContext *C, wmEvent *event)
|
|||
|
||||
/**************** window level modal panel interaction **************/
|
||||
|
||||
/* note, this is modal handler and should not swallow events for animation */
|
||||
static int ui_handler_panel(bContext *C, wmEvent *event, void *userdata)
|
||||
{
|
||||
Panel *panel= userdata;
|
||||
|
@ -1303,8 +1304,6 @@ static int ui_handler_panel(bContext *C, wmEvent *event, void *userdata)
|
|||
panel_activate_state(C, panel, PANEL_STATE_ANIMATION);
|
||||
else
|
||||
panel_activate_state(C, panel, PANEL_STATE_EXIT);
|
||||
|
||||
return WM_UI_HANDLER_BREAK;
|
||||
}
|
||||
else if(event->type == MOUSEMOVE) {
|
||||
if(data->state == PANEL_STATE_WAIT_UNTAB)
|
||||
|
|
Loading…
Reference in New Issue