diff options
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_wireframe.c')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_wireframe.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/bmesh/tools/bmesh_wireframe.c b/source/blender/bmesh/tools/bmesh_wireframe.c index 2240c64807c..1c820db74f4 100644 --- a/source/blender/bmesh/tools/bmesh_wireframe.c +++ b/source/blender/bmesh/tools/bmesh_wireframe.c @@ -142,13 +142,13 @@ static bool bm_loop_is_radial_boundary(BMLoop *l_first) if (l == l_first) { return true; /* a real boundary */ } - else { - do { - if (BM_elem_flag_test(l->f, BM_ELEM_TAG)) { - return false; - } - } while ((l = l->radial_next) != l_first); - } + + do { + if (BM_elem_flag_test(l->f, BM_ELEM_TAG)) { + return false; + } + } while ((l = l->radial_next) != l_first); + return true; } |