Merge pull request #26695 from tarman3/rampentry_zmin
CAM: RampEntryDressup - Fix findMinZ()
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user