Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Foster <cdbfoster@gmail.com>2013-04-15 22:39:46 +0400
committerChris Foster <cdbfoster@gmail.com>2013-04-15 22:39:46 +0400
commitb80e15cba6cd5b6309e01ec76ef9f909ef34e3c5 (patch)
tree0e17fa20f32b2ed3314416c8fdcd83d04f68dfab /io_scene_x/export_x.py
parentf5504c84067ee167dd158d995b139824ea4a39b5 (diff)
Fixed silly smooth normals export bug.
Diffstat (limited to 'io_scene_x/export_x.py')
-rw-r--r--io_scene_x/export_x.py4
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)