Fill in missing bits of LAYER variable for printing/plotting.

Fixes https://gitlab.com/kicad/code/kicad/issues/11788
This commit is contained in:
Jeff Young
2022-06-10 22:38:01 +01:00
parent 20f4e62176
commit f22cf1cc3a
6 changed files with 14 additions and 2 deletions
@@ -86,6 +86,7 @@ void PlotDrawingSheet( PLOTTER* plotter, const PROJECT* aProject, const TITLE_BL
drawList.SetFileName( fn.GetFullName() ); // Print only the short filename
drawList.SetSheetName( aSheetName );
drawList.SetSheetPath( aSheetPath );
drawList.SetSheetLayer( plotter->RenderSettings()->GetLayerName() );
drawList.SetProject( aProject );
drawList.SetIsFirstPage( aIsFirstPage );