Fixes: lp:1638499 (footprint editor, footprint transform: incorrect mirror for pads (noticeable only for pads with offset)

https://bugs.launchpad.net/kicad/+bug/1638499
This commit is contained in:
jean-pierre charras 2016-11-02 12:55:19 +01:00
parent 192d4b87ad
commit 941eeee4d1
1 changed files with 1 additions and 1 deletions

View File

@ -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() )