diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2018-06-11 11:28:36 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2018-06-11 11:28:36 +0300 |
commit | 91958436fb658d6a923fedd0f5f3678ad60792ce (patch) | |
tree | 650e41f37945c379050ee783731e07c166f99e43 | |
parent | 0ec6196ae3ebab4f8cb90bc997c85d14c098aaef (diff) | |
parent | 1d8d4e03f51e22cd309dbb3297b13711d84491e8 (diff) |
Merge branch 'master' into blender2.8
-rw-r--r-- | source/blender/editors/space_console/console_ops.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/space_console/console_ops.c b/source/blender/editors/space_console/console_ops.c index 4867d42030c..32cf5ea2055 100644 --- a/source/blender/editors/space_console/console_ops.c +++ b/source/blender/editors/space_console/console_ops.c @@ -1140,8 +1140,11 @@ static int console_modal_select(bContext *C, wmOperator *op, const wmEvent *even case LEFTMOUSE: case MIDDLEMOUSE: case RIGHTMOUSE: - console_cursor_set_exit(C, op); - return OPERATOR_FINISHED; + if (event->val == KM_RELEASE) { + console_cursor_set_exit(C, op); + return OPERATOR_FINISHED; + } + break; case MOUSEMOVE: console_modal_select_apply(C, op, event); break; |