EgtMachKernel :

- piccola miglioria in Insert.
This commit is contained in:
Dario Sassi
2015-04-30 20:41:57 +00:00
parent c4288febce
commit 5943d66dad
+3 -3
View File
@@ -93,13 +93,13 @@ MachMgr::Update( void)
bool
MachMgr::Insert( int nInsGrp)
{
// verifica ed eventuale creazione del gruppo base per le lavorazioni
if ( ! CreateMachBase())
return false ;
// cerco MachBase nel gruppo di inserimento
int nInsMachBaseId = FindMachBase( nInsGrp) ;
if ( nInsMachBaseId == GDB_ID_NULL)
return true ;
// verifica ed eventuale creazione del gruppo base per le lavorazioni
if ( ! CreateMachBase())
return false ;
// ciclo sui suoi gruppi
int nId = m_pGeomDB->GetFirstGroupInGroup( nInsMachBaseId) ;
while ( nId != GDB_ID_NULL) {