diff --git a/Pocketing.cpp b/Pocketing.cpp index 5033e79..4364346 100644 --- a/Pocketing.cpp +++ b/Pocketing.cpp @@ -3180,6 +3180,7 @@ Pocketing::AddLeadIn( const Point3d& ptP1, const Point3d& ptStart, const Vector3 // Assegno il tipo int nType = GetLeadInType() ; if ( bNoneForced || + AreSamePointEpsilon( ptP1, ptStart, 10 * EPS_SMALL) || ( nType == POCKET_LI_GLIDE && ( pRCrv == nullptr || pRCrv->GetCurveCount() == 0))) nType = POCKET_LI_NONE ; // Se elica e fattibile lo creo