Merge pull request #26695 from tarman3/rampentry_zmin

CAM: RampEntryDressup - Fix findMinZ()
This commit is contained in:
sliptonic
2026-01-09 10:45:37 -06:00
committed by GitHub

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