Path: fix LeadInOutDressup throwing an exception due to floating point inaccuracy when comparing z-positions

This commit is contained in:
jffmichi
2023-09-24 03:13:28 +02:00
parent 1cdff85086
commit 605edaefdc

View File

@@ -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