Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'io_mesh_stl')
-rw-r--r--io_mesh_stl/__init__.py2
-rw-r--r--io_mesh_stl/blender_utils.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/io_mesh_stl/__init__.py b/io_mesh_stl/__init__.py
index 6859627c..b1807d2a 100644
--- a/io_mesh_stl/__init__.py
+++ b/io_mesh_stl/__init__.py
@@ -21,7 +21,7 @@
bl_info = {
"name": "STL format",
"author": "Guillaume Bouchard (Guillaum)",
- "version": (1, 1, 2),
+ "version": (1, 1, 3),
"blender": (2, 80, 0),
"location": "File > Import-Export > Stl",
"description": "Import-Export STL files",
diff --git a/io_mesh_stl/blender_utils.py b/io_mesh_stl/blender_utils.py
index ee5cb098..1dfa76d8 100644
--- a/io_mesh_stl/blender_utils.py
+++ b/io_mesh_stl/blender_utils.py
@@ -84,7 +84,7 @@ def faces_from_mesh(ob, global_matrix, use_mesh_modifiers=False):
try:
mesh = ob.to_mesh(bpy.context.depsgraph, use_mesh_modifiers)
except RuntimeError:
- raise StopIteration
+ return
mat = global_matrix @ ob.matrix_world
mesh.transform(mat)