diff --git a/LuaLibs/ProcessLongDoubleCut.lua b/LuaLibs/ProcessLongDoubleCut.lua index 6e64e1e..0ca28ce 100644 --- a/LuaLibs/ProcessLongDoubleCut.lua +++ b/LuaLibs/ProcessLongDoubleCut.lua @@ -1352,7 +1352,7 @@ function ProcessLong2Cut.Make( Proc, nPhase, nRawId, nPartId, bForcedBladeMaster if dMachDepth > dMaxDepth - 10 * GEO.EPS_ANG_SMALL then -- verifico se posso lavorare la faccia 2 local nOtherFace = EgtIf( i == 1, 2, 1) - if j == 1 and vtN[vOrd[nOtherFace]]:getZ() > dLimitAngle and vWidth[vOrd[i]] < dMaxDepth then + if Proc.Fct == 2 and j == 1 and vtN[vOrd[nOtherFace]]:getZ() > dLimitAngle and vWidth[vOrd[i]] < dMaxDepth then vOrd[1], vOrd[2] = vOrd[2], vOrd[1] dLargh = vWidth[vOrd[i]] dSal, dEal = dEal, dSal