connectivity: Use pad anchor for connections

The pad should use its anchor point rather than the geometrical center
of the pad for connections.
This commit is contained in:
Seth Hillbrand 2019-09-19 13:25:26 -07:00
parent 92b6e05909
commit 4f57de9688
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ const VECTOR2I CN_ITEM::GetAnchor( int n ) const
switch( m_parent->Type() )
{
case PCB_PAD_T:
return static_cast<const D_PAD*>( m_parent )->ShapePos();
return VECTOR2I( static_cast<const D_PAD*>( m_parent )->GetPosition() );
break;
case PCB_TRACE_T: