[Bf-blender-cvs] [9eeef8ec2a7] temp-gpencil-bezier-v2: GPencil: Cleanup + clang

Falk David noreply at git.blender.org
Sat Mar 6 21:54:39 CET 2021


Commit: 9eeef8ec2a7ea32c1c4497d864b7a957ebdbc958
Author: Falk David
Date:   Sat Mar 6 21:54:06 2021 +0100
Branches: temp-gpencil-bezier-v2
https://developer.blender.org/rB9eeef8ec2a7ea32c1c4497d864b7a957ebdbc958

GPencil: Cleanup + clang

===================================================================

M	source/blender/blenkernel/BKE_gpencil_curve.h
M	source/blender/editors/gpencil/gpencil_edit_curve.c

===================================================================

diff --git a/source/blender/blenkernel/BKE_gpencil_curve.h b/source/blender/blenkernel/BKE_gpencil_curve.h
index 93214d6bddb..9b63e08eec2 100644
--- a/source/blender/blenkernel/BKE_gpencil_curve.h
+++ b/source/blender/blenkernel/BKE_gpencil_curve.h
@@ -53,8 +53,12 @@ void BKE_gpencil_stroke_editcurve_update(struct bGPDstroke *gps,
                                          const float threshold,
                                          const float corner_angle,
                                          const bool do_partial_update);
-void BKE_gpencil_editcurve_stroke_sync_selection(struct bGPdata *gpd, struct bGPDstroke *gps, struct bGPDcurve *gpc);
-void BKE_gpencil_stroke_editcurve_sync_selection(struct bGPdata *gpd, struct bGPDstroke *gps, struct bGPDcurve *gpc);
+void BKE_gpencil_editcurve_stroke_sync_selection(struct bGPdata *gpd,
+                                                 struct bGPDstroke *gps,
+                                                 struct bGPDcurve *gpc);
+void BKE_gpencil_stroke_editcurve_sync_selection(struct bGPdata *gpd,
+                                                 struct bGPDstroke *gps,
+                                                 struct bGPDcurve *gpc);
 void BKE_gpencil_stroke_update_geometry_from_editcurve(struct bGPDstroke *gps,
                                                        const uint resolution,
                                                        const bool is_adaptive);
diff --git a/source/blender/editors/gpencil/gpencil_edit_curve.c b/source/blender/editors/gpencil/gpencil_edit_curve.c
index cfa6c115a0d..f1b58ca81ff 100644
--- a/source/blender/editors/gpencil/gpencil_edit_curve.c
+++ b/source/blender/editors/gpencil/gpencil_edit_curve.c
@@ -224,7 +224,7 @@ void GPENCIL_OT_stroke_make_curve(wmOperatorType *ot)
 /** \name Clear curve from stroke operator
  * \{ */
 
-static int gpencil_stroke_clear_curve_exec(bContext *C, wmOperator *op)
+static int gpencil_stroke_clear_curve_exec(bContext *C)
 {
   Object *ob = CTX_data_active_object(C);
   bGPdata *gpd = ob->data;



More information about the Bf-blender-cvs mailing list