diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-05 16:40:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-05 16:40:09 +0400 |
commit | 7fd67392ebd5061ea1bc695ebd7feabe4755eaac (patch) | |
tree | 0614d1a94fb610c0157b8b684d21052d159a0999 /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | 348f116fe574ee38a70e8c9bdff7fc62ad1ec2e8 (diff) |
added a function to ensure derived mesh has tessface's, in preparation for removal of tessface recalculation after each modifier runs.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index 139119ee873..2f80f674d84 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -517,6 +517,8 @@ void DM_free_poly_data(struct DerivedMesh *dm, int index, int count); /*sets up mpolys for a DM based on face iterators in source*/ void DM_DupPolys(DerivedMesh *source, DerivedMesh *target); +void DM_ensure_tessface(DerivedMesh *dm); + /* interpolates vertex data from the vertices indexed by src_indices in the * source mesh using the given weights and stores the result in the vertex * indexed by dest_index in the dest mesh |