Bugfix: [#20403] transform manipulation widgets with normal coordinates
[blender.git] / source / blender / editors / transform / transform_conversions.c
index 0115d34c6b1d6ec7eb0e3656911885aae55abd8c..98c1b333844bc9eec8c83c4cf6d1434795e7db49 100644 (file)
@@ -5006,6 +5006,17 @@ void special_aftertrans_update(bContext *C, TransInfo *t)
 
        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();