Eeschema: plot missing sheet fields.

Fixes #8984
https://gitlab.com/kicad/code/kicad/issues/8984
This commit is contained in:
jean-pierre charras 2021-08-17 13:30:13 +02:00
parent dd24502255
commit 8c9b0bdba4
1 changed files with 5 additions and 1 deletions

View File

@ -987,9 +987,13 @@ void SCH_SHEET::Plot( PLOTTER* aPlotter ) const
int penWidth = std::max( GetPenWidth(), aPlotter->RenderSettings()->GetMinPenWidth() );
aPlotter->Rect( m_pos, m_pos + m_size, FILL_TYPE::NO_FILL, penWidth );
/* Draw texts : SheetLabel */
// Plot Sheet pins
for( SCH_SHEET_PIN* sheetPin : m_pins )
sheetPin->Plot( aPlotter );
// Plot the fields
for( const SCH_FIELD& field : m_fields )
field.Plot( aPlotter );
}