Fix T89002: Extra Objects: wrong normals on few faces of gem mesh in extra objects.

This commit is contained in:
Vladimir Spivak 2021-06-15 02:08:38 +03:00
parent f86f25e622
commit 73c9d22532
Notes: blender-bot 2023-02-14 18:35:50 +01:00
Referenced by issue #89002, Extra Objects: wrong normals on few faces of gem mesh in extra objects.
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ def add_gem(r1, r2, seg, h1, h2):
faces.append([j + 4, i + 3, i + 4, i + 5]) # Crown quads
faces.append([j + 4, i + 5, j + 5]) # Middle crown -> crown
faces_flat = createFaces([vert_flat], edgeloop_flat, closed=True)
faces_flat = createFaces([vert_flat], edgeloop_flat, closed=True, flipped=True)
faces.extend(faces_flat)
return verts, faces