From 61776befc3f88c373e47ccbdf8c75e2ca0f4e987 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Dec 2021 00:55:11 +1100 Subject: Cleanup: move public doc-strings into headers for 'editors' Ref T92709 --- source/blender/editors/mesh/meshtools.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'source/blender/editors/mesh/meshtools.c') diff --git a/source/blender/editors/mesh/meshtools.c b/source/blender/editors/mesh/meshtools.c index 1b720f2c14d..7295d33acb6 100644 --- a/source/blender/editors/mesh/meshtools.c +++ b/source/blender/editors/mesh/meshtools.c @@ -876,12 +876,6 @@ BLI_INLINE void mesh_mirror_topo_table_get_meshes(Object *ob, *r_em_mirror = em_mirror; } -/** - * Mode is 's' start, or 'e' end, or 'u' use - * if end, ob can be NULL. - * \note This is supposed return -1 on error, - * which callers are currently checking for, but is not used so far. - */ void ED_mesh_mirror_topo_table_begin(Object *ob, Mesh *me_eval) { Mesh *me_mirror; @@ -1012,11 +1006,6 @@ BMVert *editbmesh_get_x_mirror_vert(Object *ob, return editbmesh_get_x_mirror_vert_spatial(ob, em, co); } -/** - * Wrapper for object-mode/edit-mode. - * - * call #BM_mesh_elem_table_ensure first for editmesh. - */ int ED_mesh_mirror_get_vert(Object *ob, int index) { Mesh *me = ob->data; @@ -1146,7 +1135,6 @@ static bool mirror_facecmp(const void *a, const void *b) return (mirror_facerotation((MFace *)a, (MFace *)b) == -1); } -/* This is a Mesh-based copy of mesh_get_x_mirror_faces() */ int *mesh_get_x_mirror_faces(Object *ob, BMEditMesh *em, Mesh *me_eval) { Mesh *me = ob->data; @@ -1212,12 +1200,6 @@ int *mesh_get_x_mirror_faces(Object *ob, BMEditMesh *em, Mesh *me_eval) /* selection, vertex and face */ /* returns 0 if not found, otherwise 1 */ -/** - * Face selection in object mode, - * currently only weight-paint and vertex-paint use this. - * - * \return boolean true == Found - */ bool ED_mesh_pick_face(bContext *C, Object *ob, const int mval[2], uint dist_px, uint *r_index) { ViewContext vc; @@ -1280,10 +1262,6 @@ static void ed_mesh_pick_face_vert__mpoly_find( } } } -/** - * Use when the back buffer stores face index values. but we want a vert. - * This gets the face then finds the closest vertex to mval. - */ bool ED_mesh_pick_face_vert( bContext *C, Object *ob, const int mval[2], uint dist_px, uint *r_index) { -- cgit v1.2.3