diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-19 23:23:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-19 23:23:25 +0400 |
commit | 1f84876e899ab58fc0832aaa4364fce6e8dc36c5 (patch) | |
tree | 40900ad9ffd40c96cc49f957a3e05ee5ae8c02e5 /source/blender/blenkernel/BKE_cdderivedmesh.h | |
parent | 7c82dbe68b13c4becd8585ac1895b929ee8421a9 (diff) |
ensure defoem DM has tessface data for the few places that need it.
also add a workaround for CDDM_recalc_tesselation_ex() which would add a CD_NORMAL to dm->fdata and then overwrite immediate
Diffstat (limited to 'source/blender/blenkernel/BKE_cdderivedmesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_cdderivedmesh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_cdderivedmesh.h b/source/blender/blenkernel/BKE_cdderivedmesh.h index 569524aa2d4..ce9e8dcf92a 100644 --- a/source/blender/blenkernel/BKE_cdderivedmesh.h +++ b/source/blender/blenkernel/BKE_cdderivedmesh.h @@ -115,6 +115,7 @@ void CDDM_calc_edges(struct DerivedMesh *dm); /* reconstitute face triangulation */ void CDDM_recalc_tesselation(struct DerivedMesh *dm); +void CDDM_recalc_tesselation_ex(struct DerivedMesh *dm, const int do_face_nor_cpy); /* lowers the number of vertices/edges/faces in a CDDerivedMesh * the layer data stays the same size |