Revert "CADSTAR PCB importer: Fix incorrect position of overridden pads"
This reverts commit 5cab66fb18
This commit is contained in:
parent
08d65beb26
commit
3d9047bec4
|
@ -1700,10 +1700,6 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadComponents()
|
||||||
PADEXCEPTION& padEx = padPair.second;
|
PADEXCEPTION& padEx = padPair.second;
|
||||||
COMPONENT_PAD csPad = fpLibEntry.ComponentPads.at( padPair.first );
|
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() )
|
if( !padEx.PadCode.IsEmpty() )
|
||||||
csPad.PadCodeID = padEx.PadCode;
|
csPad.PadCodeID = padEx.PadCode;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue