CAM: RampEntryDressup - Fix findMinZ()

Backport of pull request #26695
This commit is contained in:
tarman3
2026-01-09 09:53:42 +01:00
committed by Max Wilfinger
parent 69c09f6a13
commit eb127af4c8
+1 -1
View File
@@ -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