Fix GenCAD Export flipped footprints

GenCAD Exporter flips the board footprints before exporting.  The
exporter assumes that the flip happens T/B and not L/R.

Fixes KSC Issue #356
This commit is contained in:
Seth Hillbrand 2021-07-09 09:42:56 -07:00
parent c5571afbd9
commit 387cd36f60
1 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ void PCB_EDIT_FRAME::ExportToGenCAD( wxCommandEvent& aEvent )
if( footprint->GetLayer() == B_Cu )
{
footprint->Flip( footprint->GetPosition(), Settings().m_FlipLeftRight );
footprint->Flip( footprint->GetPosition(), false );
footprint->SetFlag( 1 );
}
}
@ -323,7 +323,7 @@ void PCB_EDIT_FRAME::ExportToGenCAD( wxCommandEvent& aEvent )
{
if( footprint->GetFlag() )
{
footprint->Flip( footprint->GetPosition(), Settings().m_FlipLeftRight );
footprint->Flip( footprint->GetPosition(), false );
footprint->SetFlag( 0 );
}
}