[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2611] trunk/py/scripts/addons/ io_scene_x3d/export_x3d.py: fix error reported [#29228] X3D exporter does not convert to mesh SURFACEs

Campbell Barton ideasman42 at gmail.com
Mon Nov 14 10:44:56 CET 2011


Revision: 2611
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2611
Author:   campbellbarton
Date:     2011-11-14 09:44:56 +0000 (Mon, 14 Nov 2011)
Log Message:
-----------
fix error reported [#29228] X3D exporter does not convert to mesh SURFACEs

Modified Paths:
--------------
    trunk/py/scripts/addons/io_scene_x3d/export_x3d.py

Modified: trunk/py/scripts/addons/io_scene_x3d/export_x3d.py
===================================================================
--- trunk/py/scripts/addons/io_scene_x3d/export_x3d.py	2011-11-14 09:37:37 UTC (rev 2610)
+++ trunk/py/scripts/addons/io_scene_x3d/export_x3d.py	2011-11-14 09:44:56 UTC (rev 2611)
@@ -1369,7 +1369,7 @@
                     is_dummy_tx = True
                     ident += '\t'
 
-            elif obj_type in {'MESH', 'CURVE', 'SURF', 'FONT'}:
+            elif obj_type in {'MESH', 'CURVE', 'SURFACE', 'FONT'}:
                 if (obj_type != 'MESH') or (use_apply_modifiers and obj.is_modified(scene, 'PREVIEW')):
                     try:
                         me = obj.to_mesh(scene, use_apply_modifiers, 'PREVIEW')



More information about the Bf-extensions-cvs mailing list