diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:59:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:59:56 +0400 |
commit | f554c264da7d0f53a2519079a2e670ecb4e8629d (patch) | |
tree | 8158335342913fc59dd1be69e35a3d65a0491bbe /source/blender/blenkernel/BKE_customdata.h | |
parent | c6702a3b917894bf150e19526e1eedd8d5f2e91b (diff) |
speedup for freeing bmeshes, skip calling free on every
vert/edge/face/loop if there are no free functions for the customdata
layers.
Diffstat (limited to 'source/blender/blenkernel/BKE_customdata.h')
-rw-r--r-- | source/blender/blenkernel/BKE_customdata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_customdata.h b/source/blender/blenkernel/BKE_customdata.h index ffab95ea3f5..266dc3e66f7 100644 --- a/source/blender/blenkernel/BKE_customdata.h +++ b/source/blender/blenkernel/BKE_customdata.h @@ -88,6 +88,7 @@ bool CustomData_layer_has_interp(struct CustomData *data, int layer_n); */ bool CustomData_has_math(struct CustomData *data); bool CustomData_has_interp(struct CustomData *data); +bool CustomData_bmesh_has_free(struct CustomData *data); /* copies the "value" (e.g. mloopuv uv or mloopcol colors) from one block to * another, while not overwriting anything else (e.g. flags). probably only |