diff --git a/VolZmapVolume.cpp b/VolZmapVolume.cpp index 5d4a50a..0bb0b99 100644 --- a/VolZmapVolume.cpp +++ b/VolZmapVolume.cpp @@ -2289,7 +2289,7 @@ VolZmap::Comp_5AxisMilling( int nGrid, const PNTVECTOR& ptS, const PNTVECTOR& pt bool bXInclude = false ; IntersLineBezierSurfSet( ptLineStart, vtLineStart, vSurfBez, vIntersX, vSurfX) ; IntersToolLine( ptLineStart, vtLineStart, mi, ti, vSurfBez, vIntersX, vSurfX) ; - if( vIntersX.size() > 0) { + if( vIntersX.size() > 1) { SortGroupInters( vIntersX, vStartEndsX, X_AX) ; if( vStartEndsX.size() == 0) return false ;