TestEGr 1.5k1 :

- ricompilazione con adattamento.
This commit is contained in:
Dario Sassi
2014-11-18 16:21:13 +00:00
parent 578cbb2b55
commit 2c32745e54
2 changed files with 2 additions and 2 deletions
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -350,7 +350,7 @@ TestEGrView::OnLButtonDown( UINT nFlags, CPoint point)
m_nStatus = ST_NULL ;
}
else if ( m_nStatus == ST_GETDIST) {
if ( m_pScene->GetSelectedSnapPoint( m_nSnapPoint, Point3d( point.x, point.y), DIM_SEL, DIM_SEL, m_ptPrev)) {
if ( m_pScene->GetGraphicSnapPoint( m_nSnapPoint, Point3d( point.x, point.y), DIM_SEL, DIM_SEL, m_ptPrev)) {
// salvo il punto di riferimento
Point3d ptWin ;
m_pScene->Project( m_ptPrev, ptWin) ;
@@ -365,7 +365,7 @@ TestEGrView::OnLButtonDown( UINT nFlags, CPoint point)
else if ( m_nStatus == ST_GETDIST2) {
// recupero il punto selezionato
Point3d ptSel ;
if ( m_pScene->GetSelectedSnapPoint( m_nSnapPoint, Point3d( point.x, point.y), DIM_SEL, DIM_SEL, ptSel)) {
if ( m_pScene->GetGraphicSnapPoint( m_nSnapPoint, Point3d( point.x, point.y), DIM_SEL, DIM_SEL, ptSel)) {
// disegno la linea (coordinate geo globali)
m_pScene->SetGeoLine( m_ptPrev, ptSel) ;
RedrawWindow() ;