EgtMachKernel :

- in finiture rimozione classe PerformanceCounter per Debug.
This commit is contained in:
Riccardo Elitropi
2025-06-17 15:21:42 +02:00
parent ba9bf97372
commit 30f164badf
-3
View File
@@ -1732,15 +1732,12 @@ SurfFinishing::ProcessSfr( int nPathId, int nPvId, int nClId)
// se richiesto, elimino le parti al massimo affondamento
bool bSkipMaxDown = true ;
GetValInNotes( m_Params.m_sUserNotes, "SkipMaxDown", bSkipMaxDown) ;
PerformanceCounter PC ;
PC.Start() ;
if ( bSkipMaxDown) {
if ( ! EraseMaxDownSurf( vSrfLoc, frSurf, vtTool, dDepth, pSfrCnt)) {
m_pMchMgr->SetLastError( 3124, "Error in SurfFinishing : region not computable") ;
return false ;
}
}
LOG_INFO( GetEMkLogger(), ( "ToT Time : " + ToString( PC.Stop())).c_str()) ;
// se regione risultante vuota, non devo fare altro
if ( ! pSfrCnt->IsValid())
return true ;