diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-23 05:51:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-23 05:54:33 +0300 |
commit | d580c90469b4ba182bd8aa8e7a4e289884e426fe (patch) | |
tree | 4041254b413aa81d72bb89b4ebfdba8b507bfb22 /source/blender/bmesh/intern/bmesh_interp.h | |
parent | c26fa67bcd051e55960dadbcd5a6ee4fd1d0fb4a (diff) |
CustomData: const correctness for interp()
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_interp.h')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_interp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_interp.h b/source/blender/bmesh/intern/bmesh_interp.h index 1c1c063b7ed..3be6dcdace3 100644 --- a/source/blender/bmesh/intern/bmesh_interp.h +++ b/source/blender/bmesh/intern/bmesh_interp.h @@ -45,8 +45,10 @@ void BM_data_layer_copy(BMesh *bm, CustomData *data, int type, int src_n, int d float BM_elem_float_data_get(CustomData *cd, void *element, int type); void BM_elem_float_data_set(CustomData *cd, void *element, int type, const float val); -void BM_face_interp_from_face_ex(BMesh *bm, BMFace *target, BMFace *source, const bool do_vertex, - void **blocks, void **blocks_v, float (*cos_2d)[2], float axis_mat[3][3]); +void BM_face_interp_from_face_ex( + BMesh *bm, BMFace *target, BMFace *source, const bool do_vertex, + const void **blocks, const void **blocks_v, + float (*cos_2d)[2], float axis_mat[3][3]); void BM_face_interp_from_face(BMesh *bm, BMFace *target, BMFace *source, const bool do_vertex); void BM_loop_interp_from_face(BMesh *bm, BMLoop *target, BMFace *source, const bool do_vertex, const bool do_multires); |