From adbd5e944e7cc13d3a120c2917a81e0b3baab764 Mon Sep 17 00:00:00 2001 From: "andrea.villa" Date: Fri, 12 Sep 2025 13:21:33 +0200 Subject: [PATCH] =?UTF-8?q?In=20Long2Cut,=20se=20lavorazione=20non=20compl?= =?UTF-8?q?eta=20si=20prova=20a=20lavorare=20altra=20facia=20solo=20se=20l?= =?UTF-8?q?a=20feature=20=C3=A8=20composta=20da=20due=20facce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaLibs/ProcessLongDoubleCut.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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