From 941eeee4d1daa66f338208cc8bb84f6817279fed Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 2 Nov 2016 12:55:19 +0100 Subject: [PATCH] Fixes: lp:1638499 (footprint editor, footprint transform: incorrect mirror for pads (noticeable only for pads with offset) https://bugs.launchpad.net/kicad/+bug/1638499 --- pcbnew/block_module_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/block_module_editor.cpp b/pcbnew/block_module_editor.cpp index d1ff77b44f..0c7feb733c 100644 --- a/pcbnew/block_module_editor.cpp +++ b/pcbnew/block_module_editor.cpp @@ -616,7 +616,7 @@ void MirrorMarkedItems( MODULE* module, wxPoint offset, bool force_all ) tmpz.x = -tmpz.x; pad->SetDelta( tmpz ); - pad->SetOrientation( 1800 - pad->GetOrientation() ); + pad->SetOrientation( - pad->GetOrientation() ); } for( EDA_ITEM* item = module->GraphicalItems(); item; item = item->Next() )