EgtMachKernel :

- In PocketingNT aggiunta gestione di Step=0 per calcolo della Depth.
This commit is contained in:
Riccardo Elitropi
2025-05-28 12:48:53 +02:00
parent f8280502c4
commit d26fcbc23d
+2
View File
@@ -2873,6 +2873,8 @@ PocketingNT::ProcessPath( int nPathId, int nPvId, int nClId)
}
pSfr->Invert() ;
double dExtraDepth = ( dOkStep < EXTRA_DEPTH ? dOkStep / 2. : EXTRA_DEPTH) ;
if ( dOkStep < EPS_SMALL)
dExtraDepth = EXTRA_DEPTH ;
dDepth = min( dDepth, dInvElev + dExtraDepth) ;
// calcolo l'elevazione massima