marker location bug
This commit is contained in:
parent
30932a4607
commit
4b8925dd61
|
@ -685,7 +685,7 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart )
|
|||
|
||||
if( !checkMarginToCircle( x0, y0, w_dist, dx ) )
|
||||
{
|
||||
m_currentMarker = fillMarker( aRefSeg, track,
|
||||
m_currentMarker = fillMarker( track, aRefSeg,
|
||||
DRCE_VIA_NEAR_TRACK, m_currentMarker );
|
||||
return false;
|
||||
}
|
||||
|
@ -693,9 +693,9 @@ bool DRC::doTrackDrc( TRACK* aRefSeg, TRACK* aStart )
|
|||
continue;
|
||||
}
|
||||
|
||||
/* We compute x0,y0, xf,yf = starting and ending point coordinates for the segment to test
|
||||
* in the new axis : the new X axis is the reference segment
|
||||
* We must translate and rotate the segment to test
|
||||
/* We compute x0,y0, xf,yf = starting and ending point coordinates for
|
||||
* the segment to test in the new axis : the new X axis is the
|
||||
* reference segment. We must translate and rotate the segment to test
|
||||
*/
|
||||
x0 = track->m_Start.x - org_X;
|
||||
y0 = track->m_Start.y - org_Y;
|
||||
|
|
Loading…
Reference in New Issue