Fix texture coordinates in blender model exporter

This commit is contained in:
Nikita Lisitsa 2022-06-20 22:11:43 +03:00
parent 05608cc17c
commit e0acd31259

View file

@ -68,7 +68,7 @@ def append_vertex(v, n):
if colors:
vertex_colors.append(tuple(colors[li].color))
if texcoords:
vertex_texcoords.append(tuple(texcoords[li].uv))
vertex_texcoords.append((texcoords[li].uv[0], 1.0 - texcoords[li].uv[1]))
if armature:
weights = []
for g in v.groups: