EgtGeomKernel 1.5c9 :
- migliorata gestione colori standard - aggiunta gestione attributi Mark - aggiunta gestione degli oggetti selezionati - modifiche ad esecutore per selezionati e variabile $SEL.
This commit is contained in:
+48
-4
@@ -444,8 +444,8 @@ GdbIterator::SetStatus( int nStat)
|
||||
if ( m_pGDB == nullptr || m_pCurrObj == nullptr)
|
||||
return false ;
|
||||
|
||||
// assegno lo stato
|
||||
return m_pCurrObj->SetStatus( nStat) ;
|
||||
// la funzione chiamata gestisce l'aggiornamento della lista dei selezionati
|
||||
return m_pGDB->SetStatus( m_pCurrObj, nStat) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -455,8 +455,8 @@ GdbIterator::RevertStatus( void)
|
||||
if ( m_pGDB == nullptr || m_pCurrObj == nullptr)
|
||||
return false ;
|
||||
|
||||
// ripristino lo stato precedente
|
||||
return m_pCurrObj->RevertStatus() ;
|
||||
// la funzione chiamata gestisce l'aggiornamento della lista dei selezionati
|
||||
return m_pGDB->RevertStatus( m_pCurrObj) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
@@ -481,6 +481,50 @@ GdbIterator::GetCalcStatus( int& nStat) const
|
||||
return m_pCurrObj->GetCalcStatus( nStat) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::SetMark( void)
|
||||
{
|
||||
if ( m_pGDB == nullptr || m_pCurrObj == nullptr)
|
||||
return false ;
|
||||
|
||||
// imposto la marcatura
|
||||
return m_pCurrObj->SetMark() ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::ResetMark( void)
|
||||
{
|
||||
if ( m_pGDB == nullptr || m_pCurrObj == nullptr)
|
||||
return false ;
|
||||
|
||||
// cancello la marcatura
|
||||
return m_pCurrObj->ResetMark() ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetMark( int& nMark) const
|
||||
{
|
||||
if ( m_pGDB == nullptr || m_pCurrObj == nullptr)
|
||||
return false ;
|
||||
|
||||
// recupero la marcatura
|
||||
return m_pCurrObj->GetMark( nMark) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::GetCalcMark( int& nMark) const
|
||||
{
|
||||
if ( m_pGDB == nullptr || m_pCurrObj == nullptr)
|
||||
return false ;
|
||||
|
||||
// recupero la marcatura calcolata
|
||||
return m_pCurrObj->GetCalcMark( nMark) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
GdbIterator::SetMaterial( int nMat)
|
||||
|
||||
Reference in New Issue
Block a user