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:
Diffstat (limited to 'io_export_directx_x.py')
-rw-r--r--io_export_directx_x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_export_directx_x.py b/io_export_directx_x.py
index 6019941d..3fc63690 100644
--- a/io_export_directx_x.py
+++ b/io_export_directx_x.py
@@ -400,7 +400,7 @@ def WriteMeshNormals(Config, Mesh):
if Config.CoordinateSystem == 1:
Vertices = Vertices[::-1]
for Vertex in [Mesh.vertices[Vertex] for Vertex in Vertices]:
- if Face.smooth:
+ if Face.use_smooth:
Normal = Config.SystemMatrix * Vertex.normal
else:
Normal = Config.SystemMatrix * Face.normal