Commit 4b8925dd authored by dickelbeck's avatar dickelbeck
Browse files

marker location bug

parent 30932a46
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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;