From 8b7834c4e1bcd60bbaa40eda7e1426ec909d32ed Mon Sep 17 00:00:00 2001 From: troyp76 <86191547+troyp76@users.noreply.github.com> Date: Tue, 6 Jul 2021 00:22:15 +1000 Subject: [PATCH] Operations were being recalculated even if the dirty state was False. The "isDirty" function was not being called correctly by the accept call back. --- src/Mod/Path/PathScripts/PathOpGui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/PathScripts/PathOpGui.py b/src/Mod/Path/PathScripts/PathOpGui.py index 7d62d6c01b..6fcdf86e54 100644 --- a/src/Mod/Path/PathScripts/PathOpGui.py +++ b/src/Mod/Path/PathScripts/PathOpGui.py @@ -1113,7 +1113,7 @@ class TaskPanel(object): def accept(self, resetEdit=True): '''accept() ... callback invoked when user presses the task panel OK button.''' self.preCleanup() - if self.isDirty: + if self.isDirty(): self.panelGetFields() FreeCAD.ActiveDocument.commitTransaction() self.cleanup(resetEdit)