Skip to content
Snippets Groups Projects
Commit 0024e89e authored by Dalai Felinto's avatar Dalai Felinto
Browse files

Fix STL exporter for 2.8

parent 23a6620e
Branches
Tags
No related merge requests found
......@@ -84,7 +84,7 @@ def faces_from_mesh(ob, global_matrix, use_mesh_modifiers=False, triangulate=Tru
# get the modifiers
try:
mesh = ob.to_mesh(bpy.context.scene, use_mesh_modifiers, "PREVIEW")
mesh = ob.to_mesh(bpy.context.depsgraph, use_mesh_modifiers)
except RuntimeError:
raise StopIteration
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment