Skip to content
Snippets Groups Projects
Commit 3765c089 authored by Campbell Barton's avatar Campbell Barton
Browse files

update for changes in svn.

parent d3e5e1b6
No related branches found
No related tags found
No related merge requests found
......@@ -537,7 +537,7 @@ def WriteMeshUVCoordinates(Config, Mesh):
for Polygon in Mesh.polygons:
Vertices = []
for Vertex in [UVCoordinates[Vertex] for Vertex in Polygon.loops]:
for Vertex in [UVCoordinates[Vertex] for Vertex in Polygon.loop_indices]:
Vertices.append(tuple(Vertex.uv))
if Config.CoordinateSystem == 1:
Vertices = Vertices[::-1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment