From eb127af4c8ec2abc580201b4b5fec5e54dddfa5d Mon Sep 17 00:00:00 2001 From: tarman3 Date: Fri, 9 Jan 2026 06:32:15 +0200 Subject: [PATCH] CAM: RampEntryDressup - Fix findMinZ() Backport of pull request #26695 --- src/Mod/CAM/Path/Dressup/Gui/RampEntry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py b/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py index 02c19c7be0..e44459ec70 100644 --- a/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py +++ b/src/Mod/CAM/Path/Dressup/Gui/RampEntry.py @@ -565,7 +565,7 @@ class ObjectDressup: def findMinZ(self, edges): minZ = 99999999999 for edge in edges: - if edge.end_point[2] < minZ: + if edge.command.Name in Path.Geom.CmdMoveAll and edge.end_point[2] < minZ: minZ = edge.end_point[2] return minZ