Skip to content
Snippets Groups Projects
Commit b80e15cb authored by Chris Foster's avatar Chris Foster
Browse files

Fixed silly smooth normals export bug.

parent f5504c84
No related branches found
No related tags found
No related merge requests found
...@@ -531,8 +531,8 @@ class MeshExportObject(ExportObject): ...@@ -531,8 +531,8 @@ class MeshExportObject(ExportObject):
tuple(len(Polygon.vertices) * [Index])) tuple(len(Polygon.vertices) * [Index]))
Index += 1 Index += 1
else: else:
for Vertex in Polygon.vertices: for VertexIndex in Polygon.vertices:
self.vertices.append(Vertex) self.vertices.append(Mesh.vertices[VertexIndex])
self.PolygonVertexIndexes.append( self.PolygonVertexIndexes.append(
tuple(range(Index, Index + len(Polygon.vertices)))) tuple(range(Index, Index + len(Polygon.vertices))))
Index += len(Polygon.vertices) Index += len(Polygon.vertices)
......
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