From 25cca5adfec9229ccdeb1e6eec07a4ff21a5b8a6 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Sun, 1 Oct 2023 15:26:15 +0300 Subject: [PATCH] EasyEDA Std: fix polygon pad orientation. --- pcbnew/plugins/easyeda/pcb_easyeda_parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/plugins/easyeda/pcb_easyeda_parser.cpp b/pcbnew/plugins/easyeda/pcb_easyeda_parser.cpp index 5b2f103402..77885366b8 100644 --- a/pcbnew/plugins/easyeda/pcb_easyeda_parser.cpp +++ b/pcbnew/plugins/easyeda/pcb_easyeda_parser.cpp @@ -977,6 +977,7 @@ void PCB_EASYEDA_PARSER::ParseToBoardItemContainer( chain.SetClosed( true ); chain.Move( -center ); + chain.Rotate( -pad->GetOrientation() ); pad->AddPrimitivePoly( chain, 0, true ); }