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:
parent
92b6e05909
commit
4f57de9688
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue