diff --git a/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp b/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp index 47506df635..0c6553b2ea 100644 --- a/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp +++ b/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp @@ -1747,6 +1747,10 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadComponents() PADEXCEPTION& padEx = padPair.second; COMPONENT_PAD csPad = fpLibEntry.ComponentPads.at( padPair.first ); + // Reset the pad to be around 0,0 + csPad.Position -= fpLibEntry.Origin; + csPad.Position += m_designCenter; + if( !padEx.PadCode.IsEmpty() ) csPad.PadCodeID = padEx.PadCode;