Draft: DraftFillet clarified comment

This commit is contained in:
vocx-fc
2019-09-04 11:55:18 -05:00
committed by Yorik van Havre
parent 212a5b3291
commit ee2b8c8f52

View File

@@ -297,13 +297,14 @@ class CommandFillet(DraftTools.Creator):
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."""