EgtExecutor 1.6u1 :

- con NewFile si fa reset di Pezzo/layer correnti.
This commit is contained in:
Dario Sassi
2016-09-14 09:34:22 +00:00
parent 2eda2e9d8f
commit 68b7edec5b
3 changed files with 5 additions and 1 deletions
+4
View File
@@ -263,6 +263,8 @@ ExeNewFile( void)
// aggiorno stato file corrente
pGseCtx->m_sFilePath.clear() ;
ExeResetModified() ;
// aggiorno pezzo/layer correnti
ExeResetCurrPartLayer() ;
// aggiornamento gestore lavorazioni
ExeUpdateMachMgr() ;
// se richiesto, salvo il comando Lua equivalente
@@ -296,6 +298,8 @@ ExeOpenFile( const string& sFilePath)
bOk = bOk && pGseCtx->m_pGeomDB->Load( sFilePath) ;
// aggiorno stato file corrente
ExeResetModified() ;
// aggiorno pezzo/layer correnti
ExeResetCurrPartLayer() ;
// aggiornamento gestore lavorazioni
ExeUpdateMachMgr() ;
// se richiesto, salvo il comando Lua equivalente