Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-06-18 07:38:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-18 08:03:31 +0300
commit253c5d25f79f08e8801778bc7d36403c9419901d (patch)
treeebdeb35c4c08965e41056d7b5b8c4577ca8145cd /source/blender/blenkernel/intern/mesh.c
parentc290ac2ab19c2ef157b756882c69cbce08d18e50 (diff)
Cleanup: move mesh tessellation into it's own file
This matches BMesh which also has tessellation in it's own file. Using a separate file helps with organization when extracting code into smaller functions.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh.c')
-rw-r--r--source/blender/blenkernel/intern/mesh.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c
index 0068821bab0..b70fea459f6 100644
--- a/source/blender/blenkernel/intern/mesh.c
+++ b/source/blender/blenkernel/intern/mesh.c
@@ -1554,22 +1554,6 @@ void BKE_mesh_translate(Mesh *me, const float offset[3], const bool do_keys)
}
}
-void BKE_mesh_tessface_calc(Mesh *mesh)
-{
- mesh->totface = BKE_mesh_tessface_calc_ex(
- &mesh->fdata,
- &mesh->ldata,
- &mesh->pdata,
- mesh->mvert,
- mesh->totface,
- mesh->totloop,
- mesh->totpoly,
- /* calc normals right after, don't copy from polys here */
- false);
-
- BKE_mesh_update_customdata_pointers(mesh, true);
-}
-
void BKE_mesh_tessface_ensure(Mesh *mesh)
{
if (mesh->totpoly && mesh->totface == 0) {