From 45d496bd010e05812d3bc8efeb3876ff3f219410 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Thu, 20 Jul 2023 01:14:34 +0500 Subject: [PATCH] Altium PCB: fix orientation of polygons and non-Cu pads in footprints. Fixed in master by bbd6c80507c623b0e75c78a57997d3acef85ca16 --- pcbnew/plugins/altium/altium_pcb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/plugins/altium/altium_pcb.cpp b/pcbnew/plugins/altium/altium_pcb.cpp index 76d1a6c37a..b7fb5f320a 100644 --- a/pcbnew/plugins/altium/altium_pcb.cpp +++ b/pcbnew/plugins/altium/altium_pcb.cpp @@ -128,7 +128,7 @@ void ALTIUM_PCB::HelperShapeSetLocalCoord( PCB_SHAPE* aShape, uint16_t aComponen FOOTPRINT* fp = m_components.at( aComponent ); polyShape.Move( -fp->GetPosition() ); - polyShape.Rotate( fp->GetOrientation() ); + polyShape.Rotate( -fp->GetOrientation() ); } } } @@ -150,7 +150,7 @@ void ALTIUM_PCB::HelperShapeSetLocalCoord( FP_SHAPE* aShape ) if( fp ) { polyShape.Move( -fp->GetPosition() ); - polyShape.Rotate( fp->GetOrientation() ); + polyShape.Rotate( -fp->GetOrientation() ); } } }