EgtMachKernel :
- quando si rimuove un sottopezzo ora viene anche nascosto.
This commit is contained in:
+2
-1
@@ -695,7 +695,7 @@ Disposition::RemoveFixture( int nId)
|
||||
// verifico aggiornamento tavola
|
||||
if ( ! m_bTabOk && ! SetTable( m_sTabName))
|
||||
return false ;
|
||||
// dichiaro l'oggetto non più usato dalla fase
|
||||
// dichiaro l'oggetto non più usato dalla fase e lo nascondo
|
||||
INTVECTOR vPhase ;
|
||||
if ( ! m_pMchMgr->GetFixturePhases( nId, vPhase))
|
||||
return false ;
|
||||
@@ -704,6 +704,7 @@ Disposition::RemoveFixture( int nId)
|
||||
vPhase.erase( iIter) ;
|
||||
m_pGeomDB->SetInfo( nId, MACH_FXT_PHASE, vPhase) ;
|
||||
}
|
||||
m_pGeomDB->SetStatus( nId, GDB_ST_OFF) ;
|
||||
// rimuovo l'oggetto dal vettore dei comandi
|
||||
while ( true) {
|
||||
auto iIter = find_if( m_vFixData.begin(), m_vFixData.end(),
|
||||
|
||||
Reference in New Issue
Block a user