diff options
author | Sebastian Parborg <zeddb> | 2018-12-14 16:54:05 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-12-14 18:59:49 +0300 |
commit | 17905e89a72dcd816efb51b7403e6c01bc3e71e8 (patch) | |
tree | dbe613a03c2a93c7325fb4d6e0a545b0dae49443 /source/blender/editors | |
parent | 98f6f7bc78ed791c3b1582ed9c9c50abd8e1972e (diff) |
Fix T59358: Wrong status bar keymap for release confirms and right click select.
Differential Revision: https://developer.blender.org/D4077
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/transform/transform.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index be133ff4295..60c1f4f1f40 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -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: |