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>2016-07-22 11:18:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-07-22 11:18:59 +0300
commite8037867b69bd33c5b9b03430e1148255e64fbc0 (patch)
treeb9c988ffb40c8b7d6073f74fea703eda9265b809
parenta7e742f9c4abd7ebdc05d1d1356350a6ec0e109a (diff)
Correct mistake comparing vertices
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c
index fa46c56505f..c500d7b9ec2 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -1223,7 +1223,7 @@ void BM_face_splits_check_legal(BMesh *bm, BMFace *f, BMLoop *(*loops)[2], int l
#define EDGE_SHARE_VERT(e1, e2) \
((ELEM((e1)[0], (e2)[0], (e2)[1])) || \
- (ELEM((e2)[0], (e1)[0], (e1)[1])))
+ (ELEM((e1)[1], (e2)[0], (e2)[1])))
/* do line crossing tests */
for (i = 0, i_prev = f->len - 1; i < f->len; i_prev = i++) {