Fix multi-drag & multi-select, Alt press mid-drag

This would enable multi-value-editing in the middle of the drag action.
This commit is contained in:
2015-05-18 11:50:36 +10:00
parent 88acb3c599
commit 662746fdd4

View File

@@ -1911,6 +1911,12 @@ static void ui_apply_but(bContext *C, uiBlock *block, uiBut *but, uiHandleButton
}
#ifdef USE_ALLSELECT
# ifdef USE_DRAG_MULTINUM
if (but->flag & UI_BUT_DRAG_MULTI) {
/* pass */
}
else
# endif
if (data->select_others.elems_len == 0) {
wmWindow *win = CTX_wm_window(C);
/* may have been enabled before activating */