diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-19 21:51:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-19 21:51:52 +0400 |
commit | bc745a32d31fd7885dcd3dc0682a8e3150268778 (patch) | |
tree | 1572d6159cd1a9da5678485037cf6ffce27a666f /source/blender/blenkernel/BKE_mesh.h | |
parent | 330da356dab13db7d094064a00d56347b1d53e79 (diff) |
argument to mesh_recalcTesselation to skip copying normals from polygons.
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index 06e4787c741..b1cb62d4d5a 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -76,9 +76,10 @@ struct BMesh *BKE_mesh_to_bmesh(struct Mesh *me, struct Object *ob); * if both of the above are 0, it'll use the indices of the mpolys of the MPoly * data in pdata, and ignore the origindex layer altogether. */ -int mesh_recalcTesselation(struct CustomData *fdata, struct CustomData *ldata, - struct CustomData *pdata, struct MVert *mvert, int totface, - int totloop, int totpoly); +int mesh_recalcTesselation(struct CustomData *fdata, struct CustomData *ldata, struct CustomData *pdata, + struct MVert *mvert, + int totface, int totloop, int totpoly, + const int do_face_normals); /* for forwards compat only quad->tri polys to mface, skip ngons. */ |