EgtMachKernel 1.8b3 :

- correzioni per visualizzare/nascondere aggregati su TC in simulazione e convivere con LookMachine.
This commit is contained in:
Dario Sassi
2017-02-11 16:05:34 +00:00
parent 58acb18f79
commit 91644356a6
4 changed files with 14 additions and 9 deletions
+3 -2
View File
@@ -690,11 +690,12 @@ Machine::EnableHeadInSet( const string& sHead)
const STRVECTOR& vsHSet = GetHSet( sHead) ;
if ( vsHSet.empty())
return false ;
// spengo tutte le teste tranne questa
// spengo tutte le teste dell'insieme tranne questa
for ( size_t i = 0 ; i < vsHSet.size() ; ++ i) {
int nH = GetGroup( vsHSet[i]) ;
bool bShow = ( vsHSet[i] == sHead) ;
m_pGeomDB->SetStatus( nH, ( bShow ? GDB_ST_ON : GDB_ST_OFF)) ;
m_pGeomDB->SetMode( nH, ( bShow ? GDB_MD_STD : GDB_MD_HIDDEN)) ;
//m_pGeomDB->SetStatus( nH, ( bShow ? GDB_ST_ON : GDB_ST_OFF)) ;
}
return true ;
}