mesh_tools/mesh_relax: pass in smooth factor

The default is now zero.
This commit is contained in:
Campbell Barton 2020-01-02 16:57:50 +11:00
parent d504a09ab5
commit 0973ea3468
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ def relax_mesh(context):
# run smooth operator to relax the mesh
bpy.ops.object.mode_set(mode='EDIT')
bpy.ops.mesh.vertices_smooth()
bpy.ops.mesh.vertices_smooth(factor=0.5)
bpy.ops.object.mode_set(mode='OBJECT')
# apply the modifier