diff options
author | Chris Foster <cdbfoster@gmail.com> | 2013-04-15 22:39:46 +0400 |
---|---|---|
committer | Chris Foster <cdbfoster@gmail.com> | 2013-04-15 22:39:46 +0400 |
commit | b80e15cba6cd5b6309e01ec76ef9f909ef34e3c5 (patch) | |
tree | 0e17fa20f32b2ed3314416c8fdcd83d04f68dfab /io_scene_x/export_x.py | |
parent | f5504c84067ee167dd158d995b139824ea4a39b5 (diff) |
Fixed silly smooth normals export bug.
Diffstat (limited to 'io_scene_x/export_x.py')
-rw-r--r-- | io_scene_x/export_x.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x/export_x.py b/io_scene_x/export_x.py index 75fbf565..56d8a27a 100644 --- a/io_scene_x/export_x.py +++ b/io_scene_x/export_x.py @@ -531,8 +531,8 @@ class MeshExportObject(ExportObject): tuple(len(Polygon.vertices) * [Index])) Index += 1 else: - for Vertex in Polygon.vertices: - self.vertices.append(Vertex) + for VertexIndex in Polygon.vertices: + self.vertices.append(Mesh.vertices[VertexIndex]) self.PolygonVertexIndexes.append( tuple(range(Index, Index + len(Polygon.vertices)))) Index += len(Polygon.vertices) |