diff --git a/src/Mod/Path/Path/Dressup/Gui/LeadInOut.py b/src/Mod/Path/Path/Dressup/Gui/LeadInOut.py index 2fb76484ab..23f9e6f73f 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