From e55d481ab71d08ff6541b2dea9d76c3e00541e58 Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Wed, 17 Jun 2026 12:01:45 +0200 Subject: [PATCH] EgtMachKernel : - piccola correzione. --- MachineLuaCL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MachineLuaCL.cpp b/MachineLuaCL.cpp index f57a457..3ad83b0 100644 --- a/MachineLuaCL.cpp +++ b/MachineLuaCL.cpp @@ -743,7 +743,7 @@ Machine::LuaEmtAdjustConcavePartsInPath( lua_State* L) vInters.emplace_back( vLines[h].first, h) ; } vInters.emplace_back( vLines[i].first,i) ; - if ( ! bStartInsideCyl) { + if ( ! bStartInsideCyl && i < ssize( vLines) - 1) { vInters.emplace_back( vLines[i+1].first,i+1) ; ++i ; }