Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-05-08 16:54:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-08 16:54:33 +0400
commit5c4f96af2c9fc5afc676cf132e8171a66a973d1b (patch)
tree3085a2024f8bd07ea2b14a71c6003aaec24c3179 /source/blender/editors/gpencil
parent62db610220867bb2b68a338b5fb8a2893f45fa80 (diff)
code cleanup: use 'const float[2]' where possible.
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index f12e6da59b2..286fffb562a 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -1260,7 +1260,7 @@ static void gp_stroke_finalize_curve_endpoints(Curve *cu)
}
}
-static void gp_stroke_norm_curve_weights(Curve *cu, float minmax_weights[2])
+static void gp_stroke_norm_curve_weights(Curve *cu, const float minmax_weights[2])
{
Nurb *nu;
const float delta = minmax_weights[0];