stl_export_iter.patch 594 B

1234567891011121314
  1. diff --git a/release/scripts/addons/io_mesh_stl/blender_utils.py b/release/scripts/addons/io_mesh_stl/blender_utils.py
  2. index 864335ab..c74853db 100644
  3. --- a/release/scripts/addons/io_mesh_stl/blender_utils.py
  4. +++ b/release/scripts/addons/io_mesh_stl/blender_utils.py
  5. @@ -86,7 +86,7 @@ def faces_from_mesh(ob, global_matrix, use_mesh_modifiers=False, triangulate=Tru
  6. try:
  7. mesh = ob.to_mesh(bpy.context.scene, use_mesh_modifiers, "PREVIEW")
  8. except RuntimeError:
  9. - raise StopIteration
  10. + return
  11. mat = global_matrix * ob.matrix_world
  12. mesh.transform(mat)