From c67bd49e5607cc3db7446d4b12e1346fc9b2c83a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 Apr 2014 00:22:49 +1000 Subject: Code cleanup: use 'const' for arrays (editors) --- source/blender/editors/sculpt_paint/paint_hide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/paint_hide.c') diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index fb3fd10a5f1..484bafb4d83 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -98,7 +98,7 @@ static void partialvis_update_mesh(Object *ob, { Mesh *me = ob->data; MVert *mvert; - float *paint_mask; + const float *paint_mask; int *vert_indices; int totvert, i; bool any_changed = false, any_visible = false; -- cgit v1.2.3