diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-02 10:12:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-02 21:41:39 +0300 |
commit | de031b7c89cc5c5dd079d407ebd3a690b1c4b567 (patch) | |
tree | 4169fbb3e78062e472ec4c8502c0153ba6619bae /source/blender/bmesh/intern/bmesh_core.c | |
parent | c826566ce341cfa6bb02c733a5c70e26542bee9e (diff) |
BMesh: replace radial count with simple checks
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_core.c')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_core.c b/source/blender/bmesh/intern/bmesh_core.c index 7083642f225..06bd6229119 100644 --- a/source/blender/bmesh/intern/bmesh_core.c +++ b/source/blender/bmesh/intern/bmesh_core.c @@ -1053,8 +1053,9 @@ static bool disk_is_flagged(BMVert *v, const char api_flag) return false; } - if (bmesh_radial_length(l) == 1) + if (BM_edge_is_boundary(l->e)) { return false; + } do { if (!BM_ELEM_API_FLAG_TEST(l->f, api_flag)) |