EgtExecutor 1.8g4 :
- migliorata gestione errori lavorazioni - se manca texture si segnala in log e si continua senza errori.
This commit is contained in:
+8
-3
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user