Disable manipulator drawing during transform
void (*customFree)(struct TransInfo *); /* if a special free function is needed */
/*************** NEW STUFF *********************/
- short launch_event; /* event type used to launch transform */
+ short launch_event; /* event type used to launch transform */
short current_orientation;
+ short twtype; /* backup from view3d, to restore on end */
short prop_mode;
clear_trans_object_base_flags(t);
+ if(t->spacetype == SPACE_VIEW3D)
+ {
+ View3D *v3d = t->view;
+
+ /* restore manipulator */
+ if (t->flag & T_MODAL) {
+ v3d->twtype = t->twtype;
+ }
+ }
+
+
#if 0 // TRANSFORM_FIX_ME
if(resetslowpar)
reset_slowparents();
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;