CAM: RampEntryDressup - Fix findMinZ()

This commit is contained in:
tarman3
2026-01-06 10:11:40 +02:00
parent 62e856664b
commit b000fe7538

View File

@@ -543,7 +543,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