Merging trunk up to r38932.
[blender.git] / source / blender / editors / transform / transform_ops.c
index 62a55e2..4765bc7 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);