From 17ebbc06e2ea6324c27e0a10ae088c271b66d0cc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 12 Jul 2015 03:49:47 +1000 Subject: Use const for sculpt vars resolves building with gcc4.9 --- 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 52a60347f9f..2f1d4cd4194 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; const float *paint_mask; - int *vert_indices; + const int *vert_indices; int totvert, i; bool any_changed = false, any_visible = false; -- cgit v1.2.3