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
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2013-09-17 19:20:44 +0400
committerDalai Felinto <dfelinto@gmail.com>2013-09-17 19:20:44 +0400
commit5aeade4c6003237a6e6d803d4ed1b898b0d4dccd (patch)
tree72fed027af96c6515a0cf230ab8f96a65c2b4716 /source
parente1a57e785858328216a0e6ded05c81843c84620a (diff)
add support for trackpad navigation while in knife operator
I caught this while looking at: [#34663] Cannot rotate view while using Knife tool with Maya preset (though it's not the original report). I'll look at the other operators, there are probably a few in the same situation as knife.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 197e18374bf..c0640a4132f 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -3281,6 +3281,9 @@ static int knifetool_modal(bContext *C, wmOperator *op, const wmEvent *event)
}
else { /* non-modal-mapped events */
switch (event->type) {
+ case MOUSEPAN:
+ case MOUSEZOOM:
+ case MOUSEROTATE:
case WHEELUPMOUSE:
case WHEELDOWNMOUSE:
return OPERATOR_PASS_THROUGH;