EgtInterface :
- aggiunta interfaccia filtro oggetti per snap in grafica.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user