Fixed missing ratsnest lines when nodes are connected to different subpolygons of a zone.

This commit is contained in:
Maciej Suminski 2015-10-12 11:13:16 +02:00
parent cd0031be47
commit 42b598d677
1 changed files with 1 additions and 1 deletions

View File

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