EgtMachKernel :

- piccola modifica per evitare crash (da verificare bene),
This commit is contained in:
Dario Sassi
2024-10-19 17:59:02 +02:00
parent 7f0e30a8ec
commit 47f442921e
+1 -1
View File
@@ -1365,7 +1365,7 @@ SurfRoughing::ProcessPath( int nPathId, int nTempId, int nPvId, int nClId)
if ( abs( vExtraStep[i].second - vStepInfo[nIndRef].dDepth) < STEP_TOL) {
for ( int j = i - 1 ; j >= nIndPrev ; -- j) {
int nMyInd = ( j == i - 1 ? nIndRef : int( vStepInfo.size()) - 1) ;
bool bSS = ( vExtraStep[i].first == -1) ;
bool bSS = ( vExtraStep[j].first == -1) ;
vStepInfo.emplace_back( nMyInd, vExtraStep[j].second, bSS, ! bSS,
-1. , nullptr, nullptr) ;
if ( ! bSS)