diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 16:55:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 17:14:10 +0300 |
commit | 61776befc3f88c373e47ccbdf8c75e2ca0f4e987 (patch) | |
tree | 0214b7c5146300d41b7bcbe99f87c92599608e7f /source/blender/editors/object/object_vgroup.c | |
parent | 8f1997975dc60bc1c18992458603ecd58dfded6d (diff) |
Cleanup: move public doc-strings into headers for 'editors'
Ref T92709
Diffstat (limited to 'source/blender/editors/object/object_vgroup.c')
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index f0ab082cd9c..3e74aaeeb10 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -140,9 +140,6 @@ bool ED_vgroup_sync_from_pose(Object *ob) return false; } -/** - * Removes out of range MDeformWeights - */ void ED_vgroup_data_clamp_range(ID *id, const int total) { MDeformVert **dvert_arr; @@ -264,13 +261,6 @@ bool ED_vgroup_parray_alloc(ID *id, return false; } -/** - * For use with tools that use ED_vgroup_parray_alloc with \a use_vert_sel == true. - * This finds the unselected mirror deform verts and copies the weights to them from the selected. - * - * \note \a dvert_array has mirrored weights filled in, - * in case cleanup operations are needed on both. - */ void ED_vgroup_parray_mirror_sync(Object *ob, MDeformVert **dvert_array, const int dvert_tot, @@ -314,11 +304,6 @@ void ED_vgroup_parray_mirror_sync(Object *ob, MEM_freeN(dvert_array_all); } -/** - * Fill in the pointers for mirror verts (as if all mirror verts were selected too). - * - * similar to #ED_vgroup_parray_mirror_sync but only fill in mirror points. - */ void ED_vgroup_parray_mirror_assign(Object *ob, MDeformVert **dvert_array, const int dvert_tot) { BMEditMesh *em = BKE_editmesh_from_object(ob); @@ -383,7 +368,6 @@ void ED_vgroup_parray_remove_zero(MDeformVert **dvert_array, } } -/* matching index only */ bool ED_vgroup_array_copy(Object *ob, Object *ob_from) { MDeformVert **dvert_array_from = NULL, **dvf; @@ -575,9 +559,6 @@ static void ED_mesh_defvert_mirror_update_ob(Object *ob, int def_nr, int vidx) } } -/** - * Use when adjusting the active vertex weight and apply to mirror vertices. - */ void ED_vgroup_vert_active_mirror(Object *ob, int def_nr) { Mesh *me = ob->data; @@ -883,7 +864,6 @@ static void ED_vgroup_nr_vert_add( } } -/* called while not in editmode */ void ED_vgroup_vert_add(Object *ob, bDeformGroup *dg, int vertnum, float weight, int assignmode) { /* add the vert to the deform group with the @@ -912,7 +892,6 @@ void ED_vgroup_vert_add(Object *ob, bDeformGroup *dg, int vertnum, float weight, } } -/* mesh object mode, lattice can be in editmode */ void ED_vgroup_vert_remove(Object *ob, bDeformGroup *dg, int vertnum) { /* This routine removes the vertex from the specified @@ -2369,8 +2348,6 @@ static void dvert_mirror_op(MDeformVert *dvert, } } -/* TODO: vgroup locking. */ -/* TODO: face masking. */ void ED_vgroup_mirror(Object *ob, const bool mirror_weights, const bool flip_vgroups, @@ -2379,6 +2356,8 @@ void ED_vgroup_mirror(Object *ob, int *r_totmirr, int *r_totfail) { + /* TODO: vgroup locking. + * TODO: face masking. */ #define VGROUP_MIRR_OP \ dvert_mirror_op(dvert, \ |