Fix texture coordinates in blender model exporter
This commit is contained in:
parent
05608cc17c
commit
e0acd31259
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue