From 0547a7753643f45861306542857d97215ecb2c4f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Sep 2019 08:10:50 +1000 Subject: Cleanup: use const args, variables --- source/blender/blenkernel/intern/gpencil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/gpencil.c') diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c index a50926ae7ab..7a6189bbbc6 100644 --- a/source/blender/blenkernel/intern/gpencil.c +++ b/source/blender/blenkernel/intern/gpencil.c @@ -2645,7 +2645,7 @@ static int gpencil_check_same_material_color(Object *ob_gp, float color[4], Mate /* Helper: Add gpencil material using curve material as base. */ static Material *gpencil_add_from_curve_material(Main *bmain, Object *ob_gp, - float cu_color[4], + const float cu_color[4], const bool gpencil_lines, const bool fill, int *r_idx) @@ -2686,7 +2686,7 @@ static void gpencil_add_new_points(bGPDstroke *gps, float pressure, int init, int totpoints, - float init_co[3], + const float init_co[3], bool last) { for (int i = 0; i < totpoints; i++) { -- cgit v1.2.3