TestEGr 1.5k1 :
- ricompilazione con adattamento.
This commit is contained in:
BIN
Binary file not shown.
+2
-2
@@ -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() ;
|
||||
|
||||
Reference in New Issue
Block a user