From 08d65beb2656a59c9bf47c19b30380ada38b7ff9 Mon Sep 17 00:00:00 2001 From: Roberto Fernandez Bautista Date: Wed, 29 Mar 2023 20:52:15 +0200 Subject: [PATCH] CADSTAR PCB importer: Fix loading of rounded rectangle pads Fixes https://gitlab.com/kicad/code/kicad/-/issues/14445 (cherry picked from commit aaeb8ca739092fc8743dae7b8a6621338b61b4db) --- pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp b/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp index 62cc66f9a1..53497f224d 100644 --- a/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp +++ b/pcbnew/plugins/cadstar/cadstar_pcb_archive_loader.cpp @@ -1104,7 +1104,7 @@ PAD* CADSTAR_PCB_ARCHIVE_LOADER::getKiCadPad( const COMPONENT_PAD& aCadstarPad, break; case PAD_SHAPE_TYPE::ROUNDED_RECT: - pad->SetShape( PAD_SHAPE::RECT ); + pad->SetShape( PAD_SHAPE::ROUNDRECT ); pad->SetRoundRectCornerRadius( getKiCadLength( csPadcode.Shape.InternalFeature ) ); pad->SetSize( { getKiCadLength( (long long) csPadcode.Shape.Size + (long long) csPadcode.Shape.LeftLength