diff options
Diffstat (limited to 'io_mesh_stl')
-rw-r--r-- | io_mesh_stl/blender_utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py index 5589da4e..9c3488eb 100644 --- a/io_mesh_stl/blender_utils.py +++ b/io_mesh_stl/blender_utils.py @@ -55,6 +55,9 @@ def faces_from_mesh(ob, use_mesh_modifiers=False, triangulate=True): Split the quad into two triangles """ + # get the editmode data + ob.update_from_editmode() + # get the modifiers try: mesh = ob.to_mesh(bpy.context.scene, use_mesh_modifiers, "PREVIEW") |