diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-18 08:13:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-18 08:13:52 +0300 |
commit | c4958bc540e2496b683968430feb62d1a0ef45f4 (patch) | |
tree | aa71bd4c05b5eb1df897c3bf94a0db967ce016de /source/blender/blenkernel/intern/mesh_tessellate.c | |
parent | 2e8d7fa7ee442fffafdd13a9a9c096fcc1d5baad (diff) |
Cleanup: rename test_index_face -> BKE_mesh_mface_index_validate
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_tessellate.c')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_tessellate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh_tessellate.c b/source/blender/blenkernel/intern/mesh_tessellate.c index d0f7b7ace26..358f3413104 100644 --- a/source/blender/blenkernel/intern/mesh_tessellate.c +++ b/source/blender/blenkernel/intern/mesh_tessellate.c @@ -394,13 +394,13 @@ int BKE_mesh_tessface_calc_ex(CustomData *fdata, /* NOTE: quad detection issue - fourth vertidx vs fourth loopidx: * ...However, most TFace code uses 'MFace->v4 == 0' test to check whether it is a tri or quad. - * test_index_face() will check this and rotate the tessellated face if needed. + * BKE_mesh_mface_index_validate() will check this and rotate the tessellated face if needed. */ #ifdef USE_TESSFACE_QUADS mf = mface; for (mface_index = 0; mface_index < totface; mface_index++, mf++) { if (mf->edcode == TESSFACE_IS_QUAD) { - test_index_face(mf, fdata, mface_index, 4); + BKE_mesh_mface_index_validate(mf, fdata, mface_index, 4); mf->edcode = 0; } } |