Mirror clipping for curves and surfaces.
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 29 Mar 2010 09:29:50 +0000 (09:29 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 29 Mar 2010 09:29:50 +0000 (09:29 +0000)
source/blender/editors/transform/transform_generics.c

index 5dbd2a833a64fde716603dcc0ece97c4f682ec04..326fcce3173e1d9fb98a95c4d6ad9a79cd31ecb9 100644 (file)
@@ -637,7 +637,11 @@ void recalcData(TransInfo *t)
                        if ELEM(t->obedit->type, OB_CURVE, OB_SURF) {
                                Curve *cu= t->obedit->data;
                                Nurb *nu= cu->editnurb->first;
-                               
+
+                               if(t->state != TRANS_CANCEL) {
+                                       clipMirrorModifier(t, t->obedit);
+                               }
+
                                DAG_id_flush_update(t->obedit->data, OB_RECALC_DATA);  /* sets recalc flags */
                                
                                if (t->state == TRANS_CANCEL) {