7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 14:31:42 +00:00

Fix minor visual artifact in via painting

This commit is contained in:
Jon Evans 2024-11-16 11:46:09 -05:00
parent bc45f1b352
commit d7a9e110c5

View File

@ -1085,6 +1085,9 @@ void PCB_PAINTER::draw( const PCB_VIA* aVia, int aLayer )
radius -= m_holePlatingThickness / 2.0;
}
// Underpaint the hole so that there aren't artifacts at its edge
m_gal->SetIsFill( true );
m_gal->DrawCircle( center, radius );
}
else if( aLayer == LAYER_VIA_HOLES )
@ -1096,8 +1099,6 @@ void PCB_PAINTER::draw( const PCB_VIA* aVia, int aLayer )
if( isBlindBuried && !m_pcbSettings.IsPrinting() )
{
radius += m_holePlatingThickness / 2.0;
m_gal->SetIsStroke( false );
m_gal->SetIsFill( true );