Skip to content
Snippets Groups Projects
Commit 896011ae authored by Campbell Barton's avatar Campbell Barton
Browse files

only write crease angle if auto-smooth is enabled.

parent ad777e6b
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment