diff --git a/API_Scene.cpp b/API_Scene.cpp index 73b09ed..411843f 100644 --- a/API_Scene.cpp +++ b/API_Scene.cpp @@ -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)