Fix tessellate

This commit is contained in:
Adam Urbańczyk
2020-08-03 16:55:51 +02:00
committed by GitHub
parent cc1f8f3183
commit c80b073e82

View File

@ -822,7 +822,7 @@ class Shape(object):
# add triangles
triangles += [
tuple(el + offset for el in t.Get()) for t in poly.Triangles()
tuple(el + offset - 1 for el in t.Get()) for t in poly.Triangles()
]
offset += poly.NbNodes()