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-03-01 17:13:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-01 17:13:08 +0400
commit216f74880e86b7da22e708569b1de082da357dfb (patch)
tree3b68e8ab2d4ac66b441cc924b85a0c982d64a36a /source/blender/bmesh/operators/bmo_connect.c
parentea13ec1699bcf59960daa57fd2cd9d24e195a71b (diff)
style cleanup: bmesh - have continue on new line, also avoid unneeded loop in bmo_extrude_face_region_exec() in some cases.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_connect.c')
-rw-r--r--source/blender/bmesh/operators/bmo_connect.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/blender/bmesh/operators/bmo_connect.c b/source/blender/bmesh/operators/bmo_connect.c
index d2d4eaf8129..0c71df000c0 100644
--- a/source/blender/bmesh/operators/bmo_connect.c
+++ b/source/blender/bmesh/operators/bmo_connect.c
@@ -51,7 +51,9 @@ void bmo_connectverts_exec(BMesh *bm, BMOperator *op)
BLI_array_empty(loops);
BLI_array_empty(verts);
- if (BMO_elem_flag_test(bm, f, FACE_NEW)) continue;
+ if (BMO_elem_flag_test(bm, f, FACE_NEW)) {
+ continue;
+ }
l = BM_iter_new(&liter, bm, BM_LOOPS_OF_FACE, f);
lastl = NULL;
@@ -74,7 +76,9 @@ void bmo_connectverts_exec(BMesh *bm, BMOperator *op)
}
}
- if (BLI_array_count(loops) == 0) continue;
+ if (BLI_array_count(loops) == 0) {
+ continue;
+ }
if (BLI_array_count(loops) > 2) {
BLI_array_growone(loops);
@@ -87,7 +91,9 @@ void bmo_connectverts_exec(BMesh *bm, BMOperator *op)
BM_face_legal_splits(bm, f, (BMLoop *(*)[2])loops, BLI_array_count(loops) / 2);
for (i = 0; i < BLI_array_count(loops) / 2; i++) {
- if (loops[i * 2] == NULL) continue;
+ if (loops[i * 2] == NULL) {
+ continue;
+ }
BLI_array_growone(verts);
verts[BLI_array_count(verts) - 1] = loops[i * 2]->v;