diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2013-10-13 04:30:49 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2013-10-13 04:30:49 +0400 |
commit | 3a63adb5ff7e52084d279d64a0afc0f8067c0499 (patch) | |
tree | 639bb2948dd90a5e999244620db8f18f5ef5be2f /source/blender | |
parent | 7c2fae19b4cf6357def1d2bbe3a75696fd61bc86 (diff) |
fix [#37034] Triangulate modifier asserts with GHASH_FLAG_ALLOW_DUPES
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon.c | 2 |
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 1dfd2535913..b4d3b14cd5d 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.c +++ b/source/blender/bmesh/intern/bmesh_polygon.c @@ -900,7 +900,7 @@ void BM_face_triangulate(BMesh *bm, BMFace *f, } /* add all but the last face which is swapped and removed (below) */ - if (r_faces_new && sf_tri->prev) { + if (r_faces_new && sf_tri->next) { r_faces_new[nf_i++] = f_new; } } |