[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1678] trunk/py/scripts/addons/ io_mesh_stl/blender_utils.py: correct exception

Campbell Barton ideasman42 at gmail.com
Fri Mar 4 06:26:48 CET 2011


Revision: 1678
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1678
Author:   campbellbarton
Date:     2011-03-04 05:26:48 +0000 (Fri, 04 Mar 2011)
Log Message:
-----------
correct exception

Modified Paths:
--------------
    trunk/py/scripts/addons/io_mesh_stl/blender_utils.py

Modified: trunk/py/scripts/addons/io_mesh_stl/blender_utils.py
===================================================================
--- trunk/py/scripts/addons/io_mesh_stl/blender_utils.py	2011-03-04 04:39:13 UTC (rev 1677)
+++ trunk/py/scripts/addons/io_mesh_stl/blender_utils.py	2011-03-04 05:26:48 UTC (rev 1678)
@@ -56,7 +56,7 @@
     try:
         mesh = ob.create_mesh(bpy.context.scene,
                                 apply_modifier, "PREVIEW")
-    except SystemError:
+    except RuntimeError:
         return ()
 
     if triangulate:



More information about the Bf-extensions-cvs mailing list