Fix missing parameter to colour fetching.

Fixes https://gitlab.com/kicad/code/kicad/issues/6279
This commit is contained in:
Jeff Young 2020-11-04 12:30:12 +00:00
parent 8eaf9915c1
commit 70b87f8529
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,7 @@ void PCB_PAINTER::draw( const D_PAD* aPad, int aLayer )
m_gal->SetFontItalic( false ); m_gal->SetFontItalic( false );
m_gal->SetFontUnderlined( false ); m_gal->SetFontUnderlined( false );
m_gal->SetTextMirrored( false ); m_gal->SetTextMirrored( false );
m_gal->SetStrokeColor( m_pcbSettings.GetColor( NULL, aLayer ) ); m_gal->SetStrokeColor( m_pcbSettings.GetColor( aPad, aLayer ) );
m_gal->SetIsStroke( true ); m_gal->SetIsStroke( true );
m_gal->SetIsFill( false ); m_gal->SetIsFill( false );