Revert "Fix T59358: Wrong status bar keymap for release confirms and right click select."
This reverts commit 17905e89a7
.
Fix T80429: Transform Tools cannot be cancelled
rB17905e89 better filtered the key items that should appear in the
status bar.
But it is very restrictive since canceling is still possible in other
cases.
# Conflicts:
# source/blender/editors/transform/transform.c
This commit is contained in:
parent
afb43b881c
commit
d8a80e5949
Notes:
blender-bot
2023-02-14 09:09:43 +01:00
Referenced by issue #80429, Most Tools cannot be cancelled Referenced by issue #59358, Wrong status bar keymap for release confirms and right click select
|
@ -567,9 +567,9 @@ 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;
|
||||
}
|
||||
/* TODO: Canceling with LMB is not possible when the operator is activated
|
||||
* through tweak and the LMB is pressed.
|
||||
* Therefore, this item should not appear in the status bar. */
|
||||
break;
|
||||
}
|
||||
case TFM_MODAL_PROPSIZE:
|
||||
|
|
Loading…
Reference in New Issue