From ee2b8c8f52f210746d87fd353502d3bd63ad1adc Mon Sep 17 00:00:00 2001 From: vocx-fc Date: Wed, 4 Sep 2019 11:55:18 -0500 Subject: [PATCH] Draft: DraftFillet clarified comment --- src/Mod/Draft/DraftFillet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/Draft/DraftFillet.py b/src/Mod/Draft/DraftFillet.py index f4a561f64f..d075597216 100644 --- a/src/Mod/Draft/DraftFillet.py +++ b/src/Mod/Draft/DraftFillet.py @@ -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."""