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>2011-03-04 08:26:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-04 08:26:48 +0300
commite942288a9c0f06745bc12bd95f72a8e5a2dd25ae (patch)
tree8b99e560aa33f575f49fb8310387e12f8447dcd5 /io_mesh_stl
parent6e152ce9e0eef551d30bf77bcea2f16593148e18 (diff)
correct exception
Diffstat (limited to 'io_mesh_stl')
-rw-r--r--io_mesh_stl/blender_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py
index f763929a..eb31e86a 100644
--- a/io_mesh_stl/blender_utils.py
+++ b/io_mesh_stl/blender_utils.py
@@ -56,7 +56,7 @@ def faces_from_mesh(ob, apply_modifier=False, triangulate=True):
try:
mesh = ob.create_mesh(bpy.context.scene,
apply_modifier, "PREVIEW")
- except SystemError:
+ except RuntimeError:
return ()
if triangulate: