edit tools, EdgeRoundifier, select all & remove doubles

This commit is contained in:
Brendon Murphy 2017-05-25 09:18:19 +10:00
parent 331f2982d7
commit 75e820fb91
1 changed files with 3 additions and 0 deletions

View File

@ -633,6 +633,9 @@ class EdgeRoundifier(Operator):
bpy.ops.object.mode_set(mode='OBJECT')
bm.to_mesh(mesh)
bpy.ops.object.mode_set(mode='EDIT')
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.mesh.remove_doubles()
bm.free()
return {'FINISHED'}