Bugfix: [#20403] transform manipulation widgets with normal coordinates
[blender.git] / source / blender / editors / transform / transform_generics.c
index f2c4da0da27bd72565c7b48786acff81ecd8cc56..061b2adbd793e229b52621c588a356cea1d8f1b5 100644 (file)
@@ -927,6 +927,12 @@ int initTransInfo (bContext *C, TransInfo *t, wmOperator *op, wmEvent *event)
                t->view = v3d;
                t->animtimer= CTX_wm_screen(C)->animtimer;
                
+               /* turn manipulator off during transform */
+               if (t->flag & T_MODAL) {
+                       t->twtype = v3d->twtype;
+                       v3d->twtype = 0;
+               }
+
                if(v3d->flag & V3D_ALIGN) t->flag |= T_V3D_ALIGN;
                t->around = v3d->around;