diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-11 20:49:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-11 20:50:39 +0300 |
commit | 17ebbc06e2ea6324c27e0a10ae088c271b66d0cc (patch) | |
tree | 5622f46b6939b4ba0b07f36b4b6371825bc1589f /source/blender/editors/sculpt_paint/paint_hide.c | |
parent | 5a19d9d8f352dd8491f8800ddc2e1c52337a25ca (diff) |
Use const for sculpt vars
resolves building with gcc4.9
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_hide.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_hide.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |