Fix for bmesh triangulate creating duplicate edges
authorCampbell Barton <ideasman42@gmail.com>
Mon, 3 Mar 2014 15:07:23 +0000 (02:07 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 3 Mar 2014 15:07:23 +0000 (02:07 +1100)
source/blender/bmesh/intern/bmesh_polygon.c

index 797c21d21b693aaec8e2455d3888d55bc4e16171..75f595dfedd954c5df1a604edf660a974f7f6b84 100644 (file)
@@ -860,7 +860,7 @@ void BM_face_triangulate(BMesh *bm, BMFace *f,
                        }
                }
 
-               f_new = BM_face_split(bm, f, l_v1, l_v2, &l_new, NULL, false);
+               f_new = BM_face_split(bm, f, l_v1, l_v2, &l_new, NULL, true);
                copy_v3_v3(f_new->no, f->no);
 
                if (use_tag) {