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/blenkernel/intern/data_transfer_intern.h | |
parent | c26fa67bcd051e55960dadbcd5a6ee4fd1d0fb4a (diff) |
CustomData: const correctness for interp()
Diffstat (limited to 'source/blender/blenkernel/intern/data_transfer_intern.h')
-rw-r--r-- | source/blender/blenkernel/intern/data_transfer_intern.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/data_transfer_intern.h b/source/blender/blenkernel/intern/data_transfer_intern.h index 913325afce0..dec27d2a056 100644 --- a/source/blender/blenkernel/intern/data_transfer_intern.h +++ b/source/blender/blenkernel/intern/data_transfer_intern.h @@ -39,13 +39,14 @@ float data_transfer_interp_float_do( const int mix_mode, const float val_dst, const float val_src, const float mix_factor); /* Copied from BKE_customdata.h :( */ -typedef void (*cd_datatransfer_interp)(const struct CustomDataTransferLayerMap *laymap, void *dest, - void **sources, const float *weights, const int count, const float mix_factor); +typedef void (*cd_datatransfer_interp)( + const struct CustomDataTransferLayerMap *laymap, void *dest, + const void **sources, const float *weights, const int count, const float mix_factor); void data_transfer_layersmapping_add_item( struct ListBase *r_map, const int data_type, const int mix_mode, const float mix_factor, const float *mix_weights, - void *data_src, void *data_dst, const int data_src_n, const int data_dst_n, + const void *data_src, void *data_dst, const int data_src_n, const int data_dst_n, const size_t elem_size, const size_t data_size, const size_t data_offset, const uint64_t data_flag, cd_datatransfer_interp interp); |