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:
@@ -830,6 +830,13 @@ static bool transform_modal_item_poll(const wmOperator *op, int value)
|
|||||||
{
|
{
|
||||||
const TransInfo *t = op->customdata;
|
const TransInfo *t = op->customdata;
|
||||||
switch (value) {
|
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:
|
||||||
case TFM_MODAL_PROPSIZE_UP:
|
case TFM_MODAL_PROPSIZE_UP:
|
||||||
case TFM_MODAL_PROPSIZE_DOWN:
|
case TFM_MODAL_PROPSIZE_DOWN:
|
||||||
|
|||||||
Reference in New Issue
Block a user