Fix T59358: Wrong status bar keymap for release confirms and right click select.

Differential Revision: https://developer.blender.org/D4077
This commit is contained in:
Sebastian Parborg
2018-12-14 14:54:05 +01:00
committed by Brecht Van Lommel
parent 98f6f7bc78
commit 17905e89a7

View File

@@ -830,6 +830,13 @@ static bool transform_modal_item_poll(const wmOperator *op, int value)
{
const TransInfo *t = op->customdata;
switch (value) {
case TFM_MODAL_CANCEL:
{
if ((t->flag & T_RELEASE_CONFIRM) && ISMOUSE(t->launch_event)) {
return false;
}
break;
}
case TFM_MODAL_PROPSIZE:
case TFM_MODAL_PROPSIZE_UP:
case TFM_MODAL_PROPSIZE_DOWN: