Curves: save active point to file
[blender.git] / source / blender / editors / transform / transform_generics.c
index 85a2da10596bf145feabf94197a86afacbfcd4b4..55ecc53fd01cc1aa67877953ff09d5eaad91a836 100644 (file)
@@ -1667,7 +1667,7 @@ void calculateCenter(TransInfo *t)
                                        float center[3];
                                        Curve *cu = (Curve *)t->obedit->data;
 
-                                       if (ED_curve_actSelection(cu, center)) {
+                                       if (ED_curve_active_center(cu, center)) {
                                                copy_v3_v3(t->center, center);
                                                calculateCenter2D(t);
                                                break;