router: adapt to new SHAPE_LINE_CHAIN::INTERSECTIONS structure

This commit is contained in:
Tomasz Wlostowski 2021-05-27 23:55:53 +02:00
parent 2d8264124d
commit 8c4361bbc6
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}