diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-21 03:38:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-21 03:38:38 +0300 |
commit | c8dfe763e521925c59522dc0abe0539727052807 (patch) | |
tree | d47f5ea28b294867b3e4fdf5cbec742fad88e48c /source/blender/editors/transform/transform_conversions.c | |
parent | 7a26e930a8c09c6380f47e97d8d3cb3ddd90f2bc (diff) |
Cleanup: unused arg
Diffstat (limited to 'source/blender/editors/transform/transform_conversions.c')
-rw-r--r-- | source/blender/editors/transform/transform_conversions.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c index a2c8e173585..c96a6776b6d 100644 --- a/source/blender/editors/transform/transform_conversions.c +++ b/source/blender/editors/transform/transform_conversions.c @@ -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, ¢er[0]); + createTransGPencil_center_get(gps, center); /* add all necessary points... */ for (i = 0, pt = gps->points; i < gps->totpoints; i++, pt++) { |