- piccole correzioni varie

This commit is contained in:
luca.mazzoleni
2024-12-24 11:13:32 +01:00
parent 6ca555efc8
commit ca4141515d
3 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -766,7 +766,8 @@ function MachiningLib.PrepareMachiningsForSorting( Part)
local dPreviousSplitX = dPartMaxX
if j ~= 1 then
dPreviousSplitX = Part.SplittingPoints[j - 1]:getX()
elseif j ~= nParts then
end
if j ~= nParts then
dNextSplitX = Part.SplittingPoints[j]:getX()
end
if MachiningCurrent.ptCenter:getX() > dNextSplitX - 10 * GEO.EPS_SMALL and MachiningCurrent.ptCenter:getX() < dPreviousSplitX + 10 * GEO.EPS_SMALL then