CADSTAR PCB importer: Fix loading of rounded rectangle pads
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14445
This commit is contained in:
parent
89441d807d
commit
aaeb8ca739
|
@ -1150,7 +1150,7 @@ PAD* CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad( const COMPONENT_PAD& aCadstarPad,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PAD_SHAPE_TYPE::ROUNDED_RECT:
|
case PAD_SHAPE_TYPE::ROUNDED_RECT:
|
||||||
pad->SetShape( PAD_SHAPE::RECT );
|
pad->SetShape( PAD_SHAPE::ROUNDRECT );
|
||||||
pad->SetRoundRectCornerRadius( getKiCadLength( csPadcode.Shape.InternalFeature ) );
|
pad->SetRoundRectCornerRadius( getKiCadLength( csPadcode.Shape.InternalFeature ) );
|
||||||
pad->SetSize( { getKiCadLength( (long long) csPadcode.Shape.Size
|
pad->SetSize( { getKiCadLength( (long long) csPadcode.Shape.Size
|
||||||
+ (long long) csPadcode.Shape.LeftLength
|
+ (long long) csPadcode.Shape.LeftLength
|
||||||
|
|
Loading…
Reference in New Issue