Fix incorrect rendering of Vias when displaying the net name.

This commit is contained in:
jean-pierre charras 2020-10-13 17:34:38 +02:00
parent 3fc1a0c314
commit a7173e8ab0
1 changed files with 2 additions and 0 deletions

View File

@ -649,6 +649,8 @@ void PCB_PAINTER::draw( const VIA* aVia, int aLayer )
m_gal->BitmapText( netname, textpos, 0.0 ); m_gal->BitmapText( netname, textpos, 0.0 );
m_gal->Restore(); m_gal->Restore();
return;
} }
// Choose drawing settings depending on if we are drawing via's pad or hole // Choose drawing settings depending on if we are drawing via's pad or hole