diff options
-rw-r--r-- | io_mesh_stl/blender_utils.py | 2 |
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: |