EgtExecutor 1.8g4 :

- migliorata gestione errori lavorazioni
- se manca texture si segnala in log e si continua senza errori.
This commit is contained in:
Dario Sassi
2017-07-21 12:59:06 +00:00
parent 2cd3a34901
commit 376552abc8
3 changed files with 35 additions and 10 deletions
+8 -3
View File
@@ -2330,7 +2330,7 @@ ExeApplyAllMachinings( bool bStopOnFirstErr, string& sErrList)
if ( ! pMachMgr->DispositionSpecialApply( nOperId, true)) {
bOk = false ;
if ( pMachMgr->GetLastErrorId() != 0)
sErrList += pMachMgr->GetLastErrorString() + "\r\n" ;
sErrList += pMachMgr->GetOperationName( nOperId) + " -> " + pMachMgr->GetLastErrorString() + "\r\n" ;
if ( bStopOnFirstErr)
break ;
}
@@ -2339,8 +2339,13 @@ ExeApplyAllMachinings( bool bStopOnFirstErr, string& sErrList)
pMachMgr->SetCurrMachining( nOperId) ;
if ( ! pMachMgr->MachiningApply( true)) {
bOk = false ;
if ( pMachMgr->GetLastErrorId() != 0)
sErrList += pMachMgr->GetLastErrorString() + "\r\n" ;
if ( pMachMgr->GetLastErrorId() != 0) {
sErrList += pMachMgr->GetOperationName( nOperId) + " -> " + pMachMgr->GetLastErrorString() ;
string sInfo = pMachMgr->GetOutstrokeInfo( ExeUiUnitsAreMM()) ;
if ( ! sInfo.empty())
sErrList += sInfo ;
sErrList += "\r\n" ;
}
if ( bStopOnFirstErr)
break ;
}