Fix T47405: subsurf triangulation was producing incorrect normals after last fix.

This commit is contained in:
Brecht Van Lommel
2016-02-14 20:24:36 +01:00
parent a9813f2380
commit b4e10aa70b

View File

@@ -2082,13 +2082,13 @@ static void ccgDM_buffer_copy_triangles(
for (x = 0; x < gridFaces; x++) {
start = gpumat->start + fc[mati].i_tri_visible;
varray[start++] = totloops;
varray[start++] = totloops + 2;
varray[start++] = totloops + 3;
varray[start++] = totloops;
varray[start++] = totloops + 1;
varray[start++] = totloops + 2;
varray[start++] = totloops;
varray[start++] = totloops + 2;
varray[start++] = totloops + 1;
varray[start++] = totloops;
fc[mati].i_tri_visible += 6;