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>2015-07-20 09:12:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-20 09:12:30 +0300
commitbf6ac302cd3791d814aea711835540a10546a8d4 (patch)
tree3a02627872305502047d8fdc2e902af371a4a87c /source/blender/bmesh
parente3f86c65803e4bc30e99049ab9d06050be73598b (diff)
Correct own error w/ recent changes to triangulate
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c
index 1318ad0f7fa..34bb7ae4416 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -876,9 +876,9 @@ void BM_face_triangulate(
for (i = 0; i < totfilltri; i++) {
/* the order is reverse, otherwise the normal is flipped */
BMLoop *l_tri[3] = {
- loops[tris[i][2]],
+ loops[tris[i][0]],
loops[tris[i][1]],
- loops[tris[i][0]]};
+ loops[tris[i][2]]};
BMVert *v_tri[3] = {
l_tri[0]->v,