EgtExecutor :
- tolta uscita da CAM e successivo rientro quando si salva un oggetto.
This commit is contained in:
+1
-5
@@ -439,13 +439,9 @@ ExeSaveObjToFile( int nId, const string& sFilePath, int nFlag)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, false)
|
||||
// se ero in CAM, esco dopo averne salvato lo stato
|
||||
CamStatus CurrCamStatus ;
|
||||
ExeResetCurrMachGroup() ;
|
||||
// se ero in CAM, non esco <---
|
||||
// copio l'oggetto nel file
|
||||
bool bOk = pGeomDB->Save( nId, sFilePath, nFlag) ;
|
||||
// eventuale ripristino precedente CAM
|
||||
CurrCamStatus.Restore() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
string sLua = "EgtSaveObjToFile('" + StringToLuaString( sFilePath) + "'," +
|
||||
|
||||
Reference in New Issue
Block a user