Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-27 16:17:10 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-11-27 16:21:04 +0300
commita80ddb7f9a07942801c1bfe6b30057661e4ec213 (patch)
tree0acee17b54fcf8f8a6d4da054f715590aadfe853 /source/blender/editors/space_file
parent0217af2f9906af11096af815f986d36c84c89e68 (diff)
Fix file browser click to select not working on tablets, after recent changes.
The highlight on mousemove operator should not swallow events.
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r--source/blender/editors/space_file/file_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index a9fcbf7ec89..ea73026020d 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -1147,11 +1147,11 @@ static int file_highlight_invoke(bContext *C, wmOperator *UNUSED(op), const wmEv
SpaceFile *sfile = CTX_wm_space_file(C);
if (!file_highlight_set(sfile, ar, event->x, event->y))
- return OPERATOR_CANCELLED;
+ return OPERATOR_PASS_THROUGH;
ED_area_tag_redraw(CTX_wm_area(C));
- return OPERATOR_FINISHED;
+ return OPERATOR_PASS_THROUGH;
}
void FILE_OT_highlight(struct wmOperatorType *ot)