Commit 4b8925dd authored by dickelbeck's avatar dickelbeck

marker location bug

parent 30932a46
...@@ -685,7 +685,7 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart ) ...@@ -685,7 +685,7 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart )
if( !checkMarginToCircle( x0, y0, w_dist, dx ) ) if( !checkMarginToCircle( x0, y0, w_dist, dx ) )
{ {
m_currentMarker = fillMarker( aRefSeg, track, m_currentMarker = fillMarker( track, aRefSeg,
DRCE_VIA_NEAR_TRACK, m_currentMarker ); DRCE_VIA_NEAR_TRACK, m_currentMarker );
return false; return false;
} }
...@@ -693,10 +693,10 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart ) ...@@ -693,10 +693,10 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart )
continue; continue;
} }
/* We compute x0,y0, xf,yf = starting and ending point coordinates for the segment to test /* We compute x0,y0, xf,yf = starting and ending point coordinates for
* in the new axis : the new X axis is the reference segment * the segment to test in the new axis : the new X axis is the
* We must translate and rotate the segment to test * reference segment. We must translate and rotate the segment to test
*/ */
x0 = track->m_Start.x - org_X; x0 = track->m_Start.x - org_X;
y0 = track->m_Start.y - org_Y; y0 = track->m_Start.y - org_Y;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment