Fix negative arc angles in PCAD import

This commit is contained in:
Seth Hillbrand 2022-01-28 10:17:13 -08:00
parent ea52101c1b
commit 796893de56
1 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ void PCB_ARC::AddToFootprint( FOOTPRINT* aFootprint )
arc->SetCenter0( wxPoint( m_positionX, m_positionY ) );
arc->SetStart0( wxPoint( m_StartX, m_StartY ) );
arc->SetArcAngleAndEnd0( -m_Angle );
arc->SetArcAngleAndEnd0( -m_Angle, true );
arc->SetWidth( m_Width );
arc->SetLayer( m_KiCadLayer );
@ -196,7 +196,7 @@ void PCB_ARC::AddToBoard()
arc->SetLayer( m_KiCadLayer );
arc->SetCenter( wxPoint( m_positionX, m_positionY ) );
arc->SetStart( wxPoint( m_StartX, m_StartY ) );
arc->SetArcAngleAndEnd( -m_Angle );
arc->SetArcAngleAndEnd( -m_Angle, true );
arc->SetWidth( m_Width );
}