Skip to content
Snippets Groups Projects
Commit 390fce15 authored by Campbell Barton's avatar Campbell Barton
Browse files

Update for changes in blender

parent 2b07e90b
Branches
Tags
No related merge requests found
...@@ -36,7 +36,7 @@ def curve_to_loops(ob): ...@@ -36,7 +36,7 @@ def curve_to_loops(ob):
# Support 2.7x & 2.8x # Support 2.7x & 2.8x
if bpy.app.version >= (2, 8): if bpy.app.version >= (2, 8):
me = ob.to_mesh(bpy.context.scene, bpy.context.view_layer, True, 'PREVIEW', calc_tessface=False) me = ob.to_mesh(bpy.context.scene, bpy.context.view_layer, True, 'PREVIEW')
else: else:
me = ob.to_mesh(bpy.context.scene, True, 'PREVIEW', calc_tessface=False) me = ob.to_mesh(bpy.context.scene, True, 'PREVIEW', calc_tessface=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment