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.
This commit is contained in:
Dalai Felinto 2013-09-17 15:20:44 +00:00
parent e1a57e7858
commit 5aeade4c60

@ -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;