diff options
Diffstat (limited to 'io_scene_x3d')
-rw-r--r-- | io_scene_x3d/export_x3d.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x3d/export_x3d.py b/io_scene_x3d/export_x3d.py index 52b43931..a9d694d6 100644 --- a/io_scene_x3d/export_x3d.py +++ b/io_scene_x3d/export_x3d.py @@ -699,7 +699,7 @@ def export(file, fw('%s<IndexedTriangleSet ' % ident))) # --- Write IndexedTriangleSet Attributes (same as IndexedFaceSet) - fw('solid="false"\n') # not available anymore: bool_as_str(material and material.game_settings.use_backface_culling)) + fw('solid="%s"\n' % bool_as_str(material and material.use_backface_culling)) if use_normals or is_force_normals: fw(ident_step + 'normalPerVertex="true"\n') @@ -834,7 +834,7 @@ def export(file, fw('%s<IndexedFaceSet ' % ident))) # --- Write IndexedFaceSet Attributes (same as IndexedTriangleSet) - fw('solid="false"\n') # not available anymore: bool_as_str(material and material.game_settings.use_backface_culling) + fw('solid="%s"\n' % bool_as_str(material and material.use_backface_culling)) if is_smooth: # use Auto-Smooth angle, if enabled. Otherwise make # the mesh perfectly smooth by creaseAngle > pi. |