Browse Source

router: adapt to new SHAPE_LINE_CHAIN::INTERSECTIONS structure

6.0.7
Tomasz Wlostowski 4 years ago
parent
commit
8c4361bbc6
  1. 4
      pcbnew/router/pns_line_placer.cpp

4
pcbnew/router/pns_line_placer.cpp

@ -132,9 +132,9 @@ bool LINE_PLACER::handleSelfIntersections()
// closest to the beginning of the tail.
for( const SHAPE_LINE_CHAIN::INTERSECTION& i : ips )
{
if( i.our.Index() < n )
if( i.index_our < n )
{
n = i.our.Index();
n = i.index_our;
ipoint = i.p;
}
}

Loading…
Cancel
Save