CADSTAR PCB: Fix regression in loading of thermal pads

Due to removal of SetPos0 in 28028c94, we now don't need to compensate
for the position of the footprint while importing.
This commit is contained in:
Roberto Fernandez Bautista 2023-05-29 16:41:24 +02:00
parent 65e53b8ecd
commit 9633c8af22
1 changed files with 1 additions and 1 deletions

View File

@ -902,7 +902,7 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadLibraryCoppers( const SYMDEF_PCB& aComponen
SHAPE_POLY_SET shapePolys = getPolySetFromCadstarShape( compCopper.Shape,
lineThickness,
aFootprint );
shapePolys.Move( aFootprint->GetPosition() - anchorPos );
shapePolys.Move( -anchorPos );
pad->AddPrimitivePoly( shapePolys, 0, true );
// Now renumber all the associated pads