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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-18 11:14:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-18 11:14:32 +0400
commit1a45c5c8f49e265adaffdcb57a85c7233251c4e7 (patch)
treef1dc9f58e1c4bbc49e380290963fa3fd2ba08e95 /io_export_directx_x.py
parentb5b76c0d78c9010c16189f7e5c81e150b00db8a9 (diff)
update for rna api changes
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