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>2012-11-12 05:34:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-12 05:34:18 +0400
commit896011aebe86beb164c53a4ad88220e9c33adef9 (patch)
tree818c224970eeb0fc8f99731ca9b090d22f0f20bf /io_scene_x3d/export_x3d.py
parentad777e6b54106d891539eef23fd58fec64e0de77 (diff)
only write crease angle if auto-smooth is enabled.
Diffstat (limited to 'io_scene_x3d/export_x3d.py')
-rw-r--r--io_scene_x3d/export_x3d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py
index ddc07132..5a8d6a24 100644
--- a/io_scene_x3d/export_x3d.py
+++ b/io_scene_x3d/export_x3d.py
@@ -852,7 +852,7 @@ def export(file,
# --- Write IndexedFaceSet Attributes (same as IndexedTriangleSet)
fw('solid="%s"\n' % ('true' if material and material.game_settings.use_backface_culling else 'false'))
- if is_smooth:
+ if is_smooth and mesh.use_auto_smooth:
fw(ident_step + 'creaseAngle="%.4f"\n' % mesh.auto_smooth_angle)
if use_normals: