Skip to content

Commit

Permalink
Draft: DraftFillet clarified comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vocx-fc authored and yorikvanhavre committed Sep 5, 2019
1 parent 3433975 commit c3b07a9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Mod/Draft/DraftFillet.py
Expand Up @@ -297,13 +297,14 @@ def draw_arc(self, rad, chamfer, delete):
args += ', delete=' + str(delete)
func = ['arc = DraftFillet.makeFillet(' + args + ')']
func.append('Draft.autogroup(arc)')
func.append('FreeCAD.ActiveDocument.recompute()')
self.commit(name, func)

# Here we could remove the old objects, but the makeFillet()
# command already includes an option to remove them.
# Therefore, the following is not necessary
# rems = [doc + 'removeObject("' + o.Name + '")' for o in wires]
# func.extend(rems)
func.append('FreeCAD.ActiveDocument.recompute()')
self.commit(name, func)

def finish(self, close=False):
"""Terminates the operation."""
Expand Down

0 comments on commit c3b07a9

Please sign in to comment.