Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-25 23:43:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-25 23:43:51 +0400
commit55e68985e7cf868481d3ffcb845f94e3c52a5043 (patch)
treeee679ecb5c00a258972f6ca0f8ecc1c777695f1f /source/blender/bmesh/operators/bmo_triangulate.c
parent0096370db89eaf315a8c75b29076b9b85c83409a (diff)
bmesh api:
* added BM_elem_flag_set, BMO_elem_flag_set. to avoid 'if(...) enable(); else disable();' all over the place. * added bmesh_operator_api_inline.c, the header file was getting messy.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_triangulate.c')
-rw-r--r--source/blender/bmesh/operators/bmo_triangulate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/bmesh/operators/bmo_triangulate.c b/source/blender/bmesh/operators/bmo_triangulate.c
index a14af618411..b4ec3d740d4 100644
--- a/source/blender/bmesh/operators/bmo_triangulate.c
+++ b/source/blender/bmesh/operators/bmo_triangulate.c
@@ -89,8 +89,9 @@ void bmesh_beautify_fill_exec(BMesh *bm, BMOperator *op)
BMO_slot_buffer_flag_enable(bm, op, "constrain_edges", EDGE_MARK, BM_EDGE);
BMO_ITER(f, &siter, bm, op, "faces", BM_FACE) {
- if (f->len == 3)
+ if (f->len == 3) {
BMO_elem_flag_enable(bm, f, FACE_MARK);
+ }
}
while (!stop) {