diff options
author | Hans Goudey <h.goudey@me.com> | 2021-07-20 03:51:20 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-07-20 03:51:57 +0300 |
commit | 0733926a3443bea976e33f9c630e2cd26a7f8066 (patch) | |
tree | ba25d5d13676eb0b108b52c08ee73620be110ac8 /source/blender/blenkernel/intern | |
parent | 24aae7ed63ab0eb83322e3f3abfc74dd040ee9ed (diff) |
Cleanup: Remove unused function
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_convert.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/source/blender/blenkernel/intern/mesh_convert.c b/source/blender/blenkernel/intern/mesh_convert.c index e777eb7ffe9..71a0c6999b0 100644 --- a/source/blender/blenkernel/intern/mesh_convert.c +++ b/source/blender/blenkernel/intern/mesh_convert.c @@ -212,40 +212,6 @@ static void make_edges_mdata_extend( } /* Initialize mverts, medges and, faces for converting nurbs to mesh and derived mesh */ -/* return non-zero on error */ -int BKE_mesh_nurbs_to_mdata(Object *ob, - MVert **r_allvert, - int *r_totvert, - MEdge **r_alledge, - int *r_totedge, - MLoop **r_allloop, - MPoly **r_allpoly, - int *r_totloop, - int *r_totpoly) -{ - ListBase disp = {NULL, NULL}; - - if (ob->runtime.curve_cache) { - disp = ob->runtime.curve_cache->disp; - } - - return BKE_mesh_nurbs_displist_to_mdata(ob, - &disp, - r_allvert, - r_totvert, - r_alledge, - r_totedge, - r_allloop, - r_allpoly, - NULL, - r_totloop, - r_totpoly); -} - -/* BMESH: this doesn't calculate all edges from polygons, - * only free standing edges are calculated */ - -/* Initialize mverts, medges and, faces for converting nurbs to mesh and derived mesh */ /* use specified dispbase */ int BKE_mesh_nurbs_displist_to_mdata(const Object *ob, const ListBase *dispbase, |