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/mesh_data.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'source/blender/editors/mesh/mesh_data.c') diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index 7ce408b571f..d7d1dc7dcae 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -208,7 +208,6 @@ static void mesh_uv_reset_mface(MPoly *mp, MLoopUV *mloopuv) mesh_uv_reset_array(fuv, mp->totloop); } -/* without bContext, called in uvedit */ void ED_mesh_uv_loop_reset_ex(struct Mesh *me, const int layernum) { BMEditMesh *em = me->edit_mesh; @@ -253,10 +252,11 @@ void ED_mesh_uv_loop_reset(struct bContext *C, struct Mesh *me) WM_event_add_notifier(C, NC_GEOM | ND_DATA, me); } -/* NOTE: keep in sync with #ED_mesh_color_add. */ int ED_mesh_uv_texture_add( Mesh *me, const char *name, const bool active_set, const bool do_init, ReportList *reports) { + /* NOTE: keep in sync with #ED_mesh_color_add. */ + BMEditMesh *em; int layernum_dst; @@ -381,10 +381,11 @@ bool ED_mesh_uv_texture_remove_named(Mesh *me, const char *name) return false; } -/* NOTE: keep in sync with #ED_mesh_uv_texture_add. */ int ED_mesh_color_add( Mesh *me, const char *name, const bool active_set, const bool do_init, ReportList *reports) { + /* NOTE: keep in sync with #ED_mesh_uv_texture_add. */ + BMEditMesh *em; int layernum; @@ -516,10 +517,11 @@ static bool sculpt_vertex_color_remove_poll(bContext *C) return false; } -/* NOTE: keep in sync with #ED_mesh_uv_texture_add. */ int ED_mesh_sculpt_color_add( Mesh *me, const char *name, const bool active_set, const bool do_init, ReportList *reports) { + /* NOTE: keep in sync with #ED_mesh_uv_texture_add. */ + BMEditMesh *em; int layernum; @@ -905,6 +907,7 @@ static int mesh_customdata_mask_clear_exec(bContext *C, wmOperator *UNUSED(op)) void MESH_OT_customdata_mask_clear(wmOperatorType *ot) { + /* NOTE: no create_mask yet */ /* identifiers */ ot->name = "Clear Sculpt Mask Data"; -- cgit v1.2.3