EgtGraphics 1.6c3 :

- possibilità di filtrare selezione per tipologia di entità
- filtro per snap punto ricondotto al caso precedente.
This commit is contained in:
Dario Sassi
2015-03-18 13:54:57 +00:00
parent f3eb14ff8f
commit ff8c9fa37c
6 changed files with 58 additions and 50 deletions
+7 -2
View File
@@ -366,9 +366,14 @@ Scene::DrawGeoObj( const IGdbIterator& iIter, int nPass, const MdStMkCol& siObj)
return true ;
}
// se in selezione, carico il nome
if ( m_bSelect)
// se in selezione
if ( m_bSelect) {
// vaglio per il filtro di tipo
if ( ( nGeoType & m_nObjFilterForSelect) == 0)
return true ;
// carico il nome
glLoadName( iIter.GetId()) ;
}
// eseguo visualizzazione
return pGraphics->Draw( siObj.nStat, siObj.nMark, bSurfSha, nAlpha, bShowAux) ;