diff --git a/io_scene_x/export_x.py b/io_scene_x/export_x.py index 75fbf565951c15081d279222858829dafda9d06c..56d8a27a70f53d232f599c965be7da5d0d311241 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)