Merging trunk up to r38932.
[blender.git] / source / blender / editors / transform / transform_ops.c
index 62a55e2b7c94ab5340b47c3909c9888758010b25..4765bc77bf16d3b8fe6ecea7c89d7c9487f6f30b 100644 (file)
@@ -360,6 +360,12 @@ static int transform_modal(bContext *C, wmOperator *op, wmEvent *event)
 
        TransInfo *t = op->customdata;
 
+       if (event->type == NDOF_MOTION)
+       {
+               /* puts("transform_modal: passing through NDOF_MOTION"); */
+               return OPERATOR_PASS_THROUGH;
+       }
+
        /* XXX insert keys are called here, and require context */
        t->context= C;
        exit_code = transformEvent(t, event);