diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-01 18:47:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-01 18:47:06 +0400 |
commit | 0ac07404baf41aef65367395b86957ab1efa655f (patch) | |
tree | 993f127de5aeee9ef7415e7e2d84d0cf837f0bdf /source/blender/bmesh/operators/bmo_hull.c | |
parent | 462e4bee87f085ae775eaa953a832bfcf6503ca3 (diff) |
style cleanup: braces with multi-line statements, also add some comments.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_hull.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_hull.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_hull.c b/source/blender/bmesh/operators/bmo_hull.c index 5d8689b9da6..5e2404c9919 100644 --- a/source/blender/bmesh/operators/bmo_hull.c +++ b/source/blender/bmesh/operators/bmo_hull.c @@ -154,8 +154,9 @@ static void hull_output_triangles(BMesh *bm, GHash *hull_triangles) const int next = (i == 2 ? 0 : i + 1); BMEdge *e = BM_edge_exists(t->v[i], t->v[next]); if (e && - BMO_elem_flag_test(bm, e, HULL_FLAG_INPUT) && - !BMO_elem_flag_test(bm, e, HULL_FLAG_HOLE)) { + BMO_elem_flag_test(bm, e, HULL_FLAG_INPUT) && + !BMO_elem_flag_test(bm, e, HULL_FLAG_HOLE)) + { BMO_elem_flag_enable(bm, e, HULL_FLAG_OUTPUT_GEOM); } } |