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:
authorDalai Felinto <dfelinto@gmail.com>2013-10-13 04:30:49 +0400
committerDalai Felinto <dfelinto@gmail.com>2013-10-13 04:30:49 +0400
commit3a63adb5ff7e52084d279d64a0afc0f8067c0499 (patch)
tree639bb2948dd90a5e999244620db8f18f5ef5be2f /source/blender/bmesh/intern
parent7c2fae19b4cf6357def1d2bbe3a75696fd61bc86 (diff)
fix [#37034] Triangulate modifier asserts with GHASH_FLAG_ALLOW_DUPES
Diffstat (limited to 'source/blender/bmesh/intern')
-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 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;
}
}