Skip to content
Snippets Groups Projects
Commit e942288a authored by Campbell Barton's avatar Campbell Barton
Browse files

correct exception

parent 6e152ce9
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ def faces_from_mesh(ob, apply_modifier=False, triangulate=True): ...@@ -56,7 +56,7 @@ def faces_from_mesh(ob, apply_modifier=False, triangulate=True):
try: try:
mesh = ob.create_mesh(bpy.context.scene, mesh = ob.create_mesh(bpy.context.scene,
apply_modifier, "PREVIEW") apply_modifier, "PREVIEW")
except SystemError: except RuntimeError:
return () return ()
if triangulate: if triangulate:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment