mirror of
https://github.com/blender/blender-addons.git
synced 2025-08-20 13:22:58 +00:00
Fix STL exporter for 2.8
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user