EgtMachKernel :
- piccola miglioria in Insert.
This commit is contained in:
+3
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user