From 501524e1dcfca5dd53132ce885b87f37cd600114 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Sun, 14 Mar 2021 19:33:45 -0700 Subject: [PATCH] Disable stock/model linking by default --- src/Mod/Path/PathScripts/PathJobGui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathJobGui.py b/src/Mod/Path/PathScripts/PathJobGui.py index e6f2a7010a..865a7445ce 100644 --- a/src/Mod/Path/PathScripts/PathJobGui.py +++ b/src/Mod/Path/PathScripts/PathJobGui.py @@ -400,7 +400,7 @@ class StockFromBaseBoundBoxEdit(StockEdit): self.form.stockExtYpos.textChanged.connect(self.checkYpos) self.form.stockExtZpos.textChanged.connect(self.checkZpos) if hasattr(self.form, 'linkStockAndModel'): - self.form.linkStockAndModel.setChecked(True) + self.form.linkStockAndModel.setChecked(False) def checkXpos(self): self.trackXpos = self.form.stockExtXneg.text() == self.form.stockExtXpos.text() @@ -631,7 +631,7 @@ class TaskPanel: FreeCAD.ActiveDocument.removeObject(self.obj.Name) FreeCAD.ActiveDocument.commitTransaction() else: - PathLog.track(self.name, FreeCAD.ActiveDocument.getObject(self.name)) + PathLog.track(self.name, self.deleteOnReject, FreeCAD.ActiveDocument.getObject(self.name)) self.cleanup(resetEdit) return True