From 6c9980fca0acc31ffb8be4d35851e482ee0597f6 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 4 Sep 2024 12:58:01 -0700 Subject: [PATCH] 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 --- common/plotters/common_plot_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/plotters/common_plot_functions.cpp b/common/plotters/common_plot_functions.cpp index cf81d8cc2b..c9889e1bd9 100644 --- a/common/plotters/common_plot_functions.cpp +++ b/common/plotters/common_plot_functions.cpp @@ -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() );