summarylogtreecommitdiffstats
path: root/stl_export_iter.patch
diff options
context:
space:
mode:
authorbartus2019-07-16 12:17:36 +0200
committerbartus2019-07-16 12:47:34 +0200
commit15fd8487143dd87494b85235cf3373b6b63aedd2 (patch)
treea7d6c42145fbe3b5da46a5c8ca66e3297a14ec8a /stl_export_iter.patch
parent9e05aa10bf57e8ed3a353452507606261c66e7c1 (diff)
downloadaur-15fd8487143dd87494b85235cf3373b6b63aedd2.tar.gz
populate arch patches, refactor source
Diffstat (limited to 'stl_export_iter.patch')
-rw-r--r--stl_export_iter.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/stl_export_iter.patch b/stl_export_iter.patch
new file mode 100644
index 00000000000..edf985e88ca
--- /dev/null
+++ b/stl_export_iter.patch
@@ -0,0 +1,13 @@
+diff --git a/release/scripts/addons/io_mesh_stl/blender_utils.py b/release/scripts/addons/io_mesh_stl/blender_utils.py
+index 864335ab..c74853db 100644
+--- a/release/scripts/addons/io_mesh_stl/blender_utils.py
++++ b/release/scripts/addons/io_mesh_stl/blender_utils.py
+@@ -86,7 +86,7 @@ def faces_from_mesh(ob, global_matrix, use_mesh_modifiers=False, triangulate=Tru
+ try:
+ mesh = ob.to_mesh(bpy.context.scene, use_mesh_modifiers, "PREVIEW")
+ except RuntimeError:
+- raise StopIteration
++ return
+
+ mat = global_matrix * ob.matrix_world
+ mesh.transform(mat)