From 605edaefdc113f3196782d53c38842e4ce60f599 Mon Sep 17 00:00:00 2001 From: jffmichi <> Date: Sun, 24 Sep 2023 03:13:28 +0200 Subject: [PATCH] Path: fix LeadInOutDressup throwing an exception due to floating point inaccuracy when comparing z-positions --- src/Mod/Path/Path/Dressup/Gui/LeadInOut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/Path/Dressup/Gui/LeadInOut.py b/src/Mod/Path/Path/Dressup/Gui/LeadInOut.py index bb794e0392..a923866e1d 100644 --- a/src/Mod/Path/Path/Dressup/Gui/LeadInOut.py +++ b/src/Mod/Path/Path/Dressup/Gui/LeadInOut.py @@ -546,7 +546,7 @@ class ObjectDressup: queue = [] if ( obj.IncludeLayers - and curCommand.z < currLocation["Z"] + and curCommand.z < currLocation["Z"] and not Path.Geom.isRoughly(curCommand.z, currLocation["Z"]) and prevCmd.Name in movecommands ): # Layer change within move cmds