Correct own error w/ recent changes to triangulate

This commit is contained in:
Campbell Barton 2015-07-20 16:12:30 +10:00
parent e3f86c6580
commit bf6ac302cd
Notes: blender-bot 2023-02-14 08:52:13 +01:00
Referenced by issue #45488, N-Gons + triangulate modifier = broken shading
1 changed files with 2 additions and 2 deletions

View File

@ -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,