Cleanup: unused arg
authorCampbell Barton <ideasman42@gmail.com>
Fri, 21 Dec 2018 00:38:38 +0000 (11:38 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 21 Dec 2018 00:38:38 +0000 (11:38 +1100)
source/blender/editors/transform/transform_conversions.c

index a2c8e173585529f17393bebc92514a4c1be46849..c96a6776b6ddcd542cff8b31d1e3c96fa3cc0c05 100644 (file)
@@ -8204,8 +8204,7 @@ void flushTransPaintCurve(TransInfo *t)
        }
 }
 
-static void createTransGPencil_center_get(
-       bGPDstroke *gps, const bool is_prop_edit, float r_center[3])
+static void createTransGPencil_center_get(bGPDstroke *gps, float r_center[3])
 {
        bGPDspoint *pt;
        int i;
@@ -8428,7 +8427,7 @@ static void createTransGPencil(bContext *C, TransInfo *t)
 
                                                        /* calculate stroke center */
                                                        float center[3];
-                                                       createTransGPencil_center_get(gps, is_prop_edit, &center[0]);
+                                                       createTransGPencil_center_get(gps, center);
 
                                                        /* add all necessary points... */
                                                        for (i = 0, pt = gps->points; i < gps->totpoints; i++, pt++) {