EgtGraphics 1.6c3 :
- possibilità di filtrare selezione per tipologia di entità - filtro per snap punto ricondotto al caso precedente.
This commit is contained in:
+7
-2
@@ -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) ;
|
||||
|
||||
Reference in New Issue
Block a user