EgtInterface :

- aggiunta interfaccia filtro oggetti per snap in grafica.
This commit is contained in:
Dario Sassi
2015-03-12 15:48:52 +00:00
parent cfee8b94fd
commit 2d04a08827
+11
View File
@@ -373,6 +373,17 @@ __stdcall EgtGetLastSnapDir( double vtV[3])
return FALSE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetObjFilterForSnap( BOOL bZerodim, BOOL bCurve, BOOL bSurf, BOOL bVolume, BOOL bExtra)
{
GseContext* pGseCtx = GetCurrGseContext() ;
VERIFY_CTX_SCENE( pGseCtx, FALSE)
// imposto il filtro
return ( pGseCtx->m_pScene->SetObjFilterForSnap( ( bZerodim != FALSE), ( bCurve != FALSE), ( bSurf != FALSE),
( bVolume != FALSE), ( bExtra != FALSE)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetShowMode( int nShowMode, BOOL bRedraw)