diff --git a/pcbnew/ratsnest_data.cpp b/pcbnew/ratsnest_data.cpp index 4200e2407b..fd8b83f86c 100644 --- a/pcbnew/ratsnest_data.cpp +++ b/pcbnew/ratsnest_data.cpp @@ -385,7 +385,7 @@ void RN_NET::Update() void RN_NET::AddItem( const D_PAD* aPad ) { - RN_NODE_PTR node = m_links.AddNode( aPad->GetPosition().x, aPad->GetPosition().y ); + RN_NODE_PTR node = m_links.AddNode( aPad->ShapePos().x, aPad->ShapePos().y ); node->AddParent( aPad ); m_pads[aPad] = node;