Fix T47405: subsurf triangulation was producing incorrect normals after last fix.
This commit is contained in:
parent
a9813f2380
commit
b4e10aa70b
Notes:
blender-bot
2023-06-12 00:52:52 +02:00
Referenced by issue #47405, Bug when applying subsurf modifier on smooth objects.
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue