7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 15:40:10 +00:00

Leave full path in WS Editor draw list

Truncating the path leads to differences between viewing ${FILEPATH} and
printing/plotting ${FILEPATH}.  The variable does not appear to be used
elsewhere
This commit is contained in:
Seth Hillbrand 2024-09-04 12:58:01 -07:00
parent 94f995c49e
commit 6c9980fca0

View File

@ -75,7 +75,7 @@ void PlotDrawingSheet( PLOTTER* plotter, const PROJECT* aProject, const TITLE_BL
drawList.SetPlotterMilsToIUfactor( iusPerMil );
drawList.SetPageNumber( aSheetNumber );
drawList.SetSheetCount( aSheetCount );
drawList.SetFileName( fn.GetFullName() ); // Print only the short filename
drawList.SetFileName( fn.GetFullPath() );
drawList.SetSheetName( aSheetName );
drawList.SetSheetPath( aSheetPath );
drawList.SetSheetLayer( settings->GetLayerName() );