EgtExecutor.rc 1.6e3 :

- sistemata ExeOutLog (era rimasta EgtOutLog)
- passato indice context a MachMgr
- aggiunta LuaInstallEgtFunctions.
This commit is contained in:
Dario Sassi
2015-05-07 07:02:38 +00:00
parent 966885645e
commit a754d1b1af
5 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -29,11 +29,11 @@ bool
ExeInitMachMgr( const string& sMachinesDir)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX( pGseCtx, false)
VERIFY_CTX_GEOMDB( pGseCtx, false)
// inizializzazione gestore lavorazioni
PtrOwner<IMachMgr> pMachMgr( MyCreateMachMgr()) ;
VERIFY_NULL( Get( pMachMgr), "Error in CreateMachMgr", false)
bool bOk = pMachMgr->Init( pGseCtx->m_pGeomDB, sMachinesDir) ;
bool bOk = pMachMgr->Init( GetIndCurrGseContext(), pGseCtx->m_pGeomDB, sMachinesDir) ;
// assegno il gestore al contesto
pGseCtx->m_pMachMgr = ( bOk ? Release( pMachMgr) : nullptr) ;
// log avvio Machining Manager