Fixed missing ratsnest lines when nodes are connected to different subpolygons of a zone.
This commit is contained in:
parent
cd0031be47
commit
42b598d677
|
@ -392,7 +392,7 @@ RN_POLY::RN_POLY( const SHAPE_POLY_SET* aParent,
|
|||
m_bbox( aBBox ),
|
||||
m_parentPolyset( aParent )
|
||||
{
|
||||
const VECTOR2I& p = aParent->CVertex( aSubpolygonIndex, 0 );
|
||||
const VECTOR2I& p = aParent->CVertex( 0, aSubpolygonIndex );
|
||||
|
||||
m_node = aConnections.AddNode( p.x, p.y );
|
||||
|
||||
|
|
Loading…
Reference in New Issue