This commit is contained in:
luca.mazzoleni
2025-05-05 16:02:01 +02:00
+2 -2
View File
@@ -108,10 +108,10 @@ local function GetEdgeToMachine( Edges, vtNFace, sBladeType)
end
if sBladeType == 'Top' then
table.sort( EdgesSorted, CompareEdgesBottomHead)
table.sort( EdgesSorted, CompareEdgesTopHead)
EdgeToMachine = EdgesSorted[1]
elseif sBladeType == 'Bottom' then
table.sort( EdgesSorted, CompareEdgesTopHead)
table.sort( EdgesSorted, CompareEdgesBottomHead)
EdgeToMachine = EdgesSorted[1]
elseif sBladeType == 'TopDownUp' then
local vtEdgeDirection