EgtExecutor :
- aggiunte funzioni ExeGetStringUtf8FromIni e ExeWriteStringUtf8ToIni.
This commit is contained in:
+6
-5
@@ -2255,7 +2255,7 @@ ExePreviewMachining( bool bRecalc)
|
||||
ExeSetModified() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
string sLua = "EgtPreviewMachining(" + ToString( bRecalc) + ")" +
|
||||
string sLua = "EgtPreviewMachining(" + string( bRecalc ? "true" : "false") + ")" +
|
||||
" -- Ok=" + ToString( bOk) ;
|
||||
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
|
||||
}
|
||||
@@ -2273,7 +2273,8 @@ ExeApplyMachining( bool bRecalc, bool bPostApply)
|
||||
ExeSetModified() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
string sLua = "EgtApplyMachining(" + ToString( bRecalc) + ")" +
|
||||
string sLua = "EgtApplyMachining(" + string( bRecalc ? "true" : "false") + "," +
|
||||
string( bPostApply ? "true" : "false") + ")" +
|
||||
" -- Ok=" + ToString( bOk) ;
|
||||
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
|
||||
}
|
||||
@@ -2291,8 +2292,8 @@ ExeUpdateMachining( bool bPostApply)
|
||||
ExeSetModified() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
string sLua = "EgtUpdateMachining()" +
|
||||
string( " -- Ok=") + ToString( bOk) ;
|
||||
string sLua = "EgtUpdateMachining(" + string( bPostApply ? "true" : "false") + ")" +
|
||||
" -- Ok=" + ToString( bOk) ;
|
||||
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
|
||||
}
|
||||
return bOk ;
|
||||
@@ -2465,7 +2466,7 @@ ExeApplyAllMachinings( bool bRecalc, bool bStopOnFirstErr, string& sErrList)
|
||||
ExeSetModified() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
string sLua = "EgtApplyAllMachinings(" + string( bRecalc ? "true" : "false") + ")" +
|
||||
string sLua = "EgtApplyAllMachinings(" + string( bRecalc ? "true" : "false") + "," +
|
||||
string( bStopOnFirstErr ? "true" : "false") + ")" +
|
||||
" -- Ok=" + ToString( bOk) ;
|
||||
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
|
||||
|
||||
Reference in New Issue
Block a user