diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_gpencil_geom.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/gpencil_geom.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_gpencil_geom.h b/source/blender/blenkernel/BKE_gpencil_geom.h index cbaf118e803..67560470516 100644 --- a/source/blender/blenkernel/BKE_gpencil_geom.h +++ b/source/blender/blenkernel/BKE_gpencil_geom.h @@ -413,7 +413,7 @@ void BKE_gpencil_stroke_join(struct bGPDstroke *gps_a, * Set stroke start point in the selected index. Only works for Cyclic strokes. * \param start_idx: Index of the point to be the start point. */ -void BKE_gpencil_stroke_start_set(struct bGPdata *gpd, struct bGPDstroke *gps, int start_idx); +void BKE_gpencil_stroke_start_set(struct bGPDstroke *gps, int start_idx); /** * Copy the stroke of the frame to all frames selected (except current). */ diff --git a/source/blender/blenkernel/intern/gpencil_geom.cc b/source/blender/blenkernel/intern/gpencil_geom.cc index 7a77bc21c66..4867da186f7 100644 --- a/source/blender/blenkernel/intern/gpencil_geom.cc +++ b/source/blender/blenkernel/intern/gpencil_geom.cc @@ -3546,7 +3546,7 @@ void BKE_gpencil_stroke_join(bGPDstroke *gps_a, } } -void BKE_gpencil_stroke_start_set(bGPdata *gpd, bGPDstroke *gps, int start_idx) +void BKE_gpencil_stroke_start_set(bGPDstroke *gps, int start_idx) { if ((start_idx < 1) || (start_idx >= gps->totpoints) || (gps->totpoints < 2)) { return; |