EgtMachKernel :
- aggiunta gestione livello di debug in LOG*.
This commit is contained in:
+3
-3
@@ -463,7 +463,7 @@ Pocketing::SetGeometry( const SELVECTOR& vIds)
|
||||
int nSubs ;
|
||||
if ( ! VerifyGeometry( Id, nSubs, nType)) {
|
||||
string sOut = "Entity " + ToString( Id) + " skipped by Milling" ;
|
||||
LOG_INFO( GetEMkLogger(), sOut.c_str()) ;
|
||||
LOG_WARN( GetEMkLogger(), sOut.c_str()) ;
|
||||
continue ;
|
||||
}
|
||||
// posso aggiungere alla lista
|
||||
@@ -578,7 +578,7 @@ Pocketing::Apply( bool bRecalc, bool bPostApply)
|
||||
if ( ! bRecalc && ! bToolChanged &&
|
||||
( m_nStatus == MCH_ST_OK || ( ! bPostApply && m_nStatus == MCH_ST_NO_POSTAPPL))) {
|
||||
m_nPockets = nCurrPockets ;
|
||||
LOG_INFO( GetEMkLogger(), "Pocketing apply skipped : status already ok") ;
|
||||
LOG_DBG_INFO( GetEMkLogger(), "Pocketing apply skipped : status already ok") ;
|
||||
return true ;
|
||||
}
|
||||
m_nStatus = MCH_ST_TO_VERIFY ;
|
||||
@@ -668,7 +668,7 @@ Pocketing::Update( bool bPostApply)
|
||||
|
||||
// se lavorazione vuota, esco
|
||||
if ( m_nPockets == 0) {
|
||||
LOG_INFO( GetEMkLogger(), "Warning in Pocketing : No machinable pocket")
|
||||
LOG_WARN( GetEMkLogger(), "Warning in Pocketing : No machinable pocket")
|
||||
return true ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user