From cf4aa9807a42d442c362fac77602bc07225c7da3 Mon Sep 17 00:00:00 2001 From: pekkaroi Date: Sun, 27 May 2018 21:59:58 +0300 Subject: [PATCH] PathSimulator, fix typo false->False --- src/Mod/Path/PathScripts/PathSimulatorGui.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathSimulatorGui.py b/src/Mod/Path/PathScripts/PathSimulatorGui.py index 6e9a16b527..097fceb46e 100644 --- a/src/Mod/Path/PathScripts/PathSimulatorGui.py +++ b/src/Mod/Path/PathScripts/PathSimulatorGui.py @@ -95,7 +95,7 @@ class PathSimulation: self.firstDrill = True self.activeOps.append(self.operations[i]) self.numCommands += len(self.operations[i].Path.Commands) - + self.stock = self.job.Stock.Shape if (self.isVoxel): maxlen = self.stock.BoundBox.XLength @@ -480,14 +480,14 @@ class PathSimulation: self.cutTool.ViewObject.hide() self.iprogress = 0 self.EndSimulation() - + def InvalidOperation(self): if len(self.activeOps) == 0: return True if (self.tool == None): TSError("No tool assigned for the operation") return True - return false + return False def SimFF(self): if self.InvalidOperation():