diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-28 05:11:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-28 05:11:35 +0300 |
commit | dc1586063be8a69ac42c76d6076af7d3d73999ec (patch) | |
tree | 4b6e27a5c60fd054d1a82ec673fd044ffed5f157 | |
parent | 3e0c6a8ca2e2859dabc488dee2356357c5fdc0c0 (diff) |
BMesh: correct flag check (own mistake)
-rw-r--r-- | source/blender/bmesh/intern/bmesh_queries.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_queries.c b/source/blender/bmesh/intern/bmesh_queries.c index 44a50734e91..182bd17c486 100644 --- a/source/blender/bmesh/intern/bmesh_queries.c +++ b/source/blender/bmesh/intern/bmesh_queries.c @@ -1964,8 +1964,8 @@ bool BM_face_exists_multi(BMVert **varr, BMEdge **earr, int len) if (/* non-boundary edge */ BM_elem_flag_test(e, BM_ELEM_INTERNAL_TAG) == false && /* ...using boundary verts */ - BM_elem_flag_test(e->v1, BM_ELEM_INTERNAL_TAG) == true && - BM_elem_flag_test(e->v2, BM_ELEM_INTERNAL_TAG) == true) + BM_elem_flag_test(e->v1, BM_ELEM_INTERNAL_TAG) && + BM_elem_flag_test(e->v2, BM_ELEM_INTERNAL_TAG)) { int tot_face_tag = 0; BM_ITER_ELEM (f, &fiter, e, BM_FACES_OF_EDGE) { |