diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-29 02:37:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-29 02:37:09 +0400 |
commit | 59457e01843e10b32fb320953e0a0ed0eabdd690 (patch) | |
tree | 96f5731b9f6bb5a9aa6ca4ca9b6b67b7bd369064 /source/blender/blenkernel/BKE_mesh.h | |
parent | 87702e1c43ddc210440d21a5e1b2188580037024 (diff) |
cache customdata checks to avoid looking up on each call to mesh_loops_to_mface_corners()
Diffstat (limited to 'source/blender/blenkernel/BKE_mesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_mesh.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_mesh.h b/source/blender/blenkernel/BKE_mesh.h index 9b5e38dfea7..8f03f29706f 100644 --- a/source/blender/blenkernel/BKE_mesh.h +++ b/source/blender/blenkernel/BKE_mesh.h @@ -213,8 +213,9 @@ void BKE_mesh_ensure_navmesh(struct Mesh *me); /*convert a triangle of loop facedata to mface facedata*/ void mesh_loops_to_mface_corners(struct CustomData *fdata, struct CustomData *ldata, - struct CustomData *pdata, int lindex[4], int findex, - const int polyindex, const int mf_len); + struct CustomData *pdata, int lindex[4], int findex, + const int polyindex, const int mf_len, + const int numTex, const int numCol, const int hasWCol); #ifdef __cplusplus } |