diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-08 20:39:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-08 20:39:36 +0400 |
commit | b0c084c6cca1dd9703f580427d838ee9e6d9f849 (patch) | |
tree | 8916c7d8359bd384171641f3f692faefed5804f8 /source/blender/blenkernel/BKE_customdata.h | |
parent | 0c1d1e6c30e8f11834d401b46bdc2018a4e942d9 (diff) |
fix [#33797] decimate modifier bug on uv-coordinates when mesh uses vertex color
if vertex colors had no seams - it would interpolate the UV's too, now interpolate per-layer.
Diffstat (limited to 'source/blender/blenkernel/BKE_customdata.h')
-rw-r--r-- | source/blender/blenkernel/BKE_customdata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_customdata.h b/source/blender/blenkernel/BKE_customdata.h index 70532384643..3a65c8d3b72 100644 --- a/source/blender/blenkernel/BKE_customdata.h +++ b/source/blender/blenkernel/BKE_customdata.h @@ -216,6 +216,8 @@ void CustomData_free_elem(struct CustomData *data, int index, int count); void CustomData_interp(const struct CustomData *source, struct CustomData *dest, int *src_indices, float *weights, float *sub_weights, int count, int dest_index); +void CustomData_bmesh_interp_n(struct CustomData *data, void **src_blocks, const float *weights, + const float *sub_weights, int count, void *dest_block, int n); void CustomData_bmesh_interp(struct CustomData *data, void **src_blocks, const float *weights, const float *sub_weights, int count, void *dest_block); |