diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-12 22:43:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-12 22:43:59 +0400 |
commit | 37ff2a291f38548e1ac9d5d31939ecda0bea65ed (patch) | |
tree | a48f24ce0f148e57dfba04d9193579c74153596f /source/blender/modifiers/intern/MOD_edgesplit.c | |
parent | c34af2c9b1527af857b674eb0e7aaaeab99c7758 (diff) |
BMesh api function naming.
`_set` suffix was used in two ways (confusing)
* to set a flag to be enabled.
* to set a value passed as an argument.
now use enable/disable rather then set/clear for functions which change flags.
also remove BME_weld.c, the file didnt contain much code and the current extrude works well
Diffstat (limited to 'source/blender/modifiers/intern/MOD_edgesplit.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_edgesplit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_edgesplit.c b/source/blender/modifiers/intern/MOD_edgesplit.c index 56e2550f6dd..ed52ebe47ba 100644 --- a/source/blender/modifiers/intern/MOD_edgesplit.c +++ b/source/blender/modifiers/intern/MOD_edgesplit.c @@ -80,7 +80,7 @@ static DerivedMesh *doEdgeSplit(DerivedMesh *dm, EdgeSplitModifierData *emd, Obj (l2= e->l->radial_next) != l1) { if (dot_v3v3(l1->f->no, l2->f->no) < threshold) { - BMO_elem_flag_set(bm, e, EDGE_MARK); + BMO_elem_flag_enable(bm, e, EDGE_MARK); } } } @@ -89,7 +89,7 @@ static DerivedMesh *doEdgeSplit(DerivedMesh *dm, EdgeSplitModifierData *emd, Obj if (emd->flags & MOD_EDGESPLIT_FROMFLAG) { BM_ITER(e, &iter, bm, BM_EDGES_OF_MESH, NULL) { if (BM_elem_flag_test(e, BM_ELEM_SHARP)) - BMO_elem_flag_set(bm, e, EDGE_MARK); + BMO_elem_flag_enable(bm, e, EDGE_MARK); } } |