Allow text variable resolution through properties in drawing sheet text.
Fixes https://gitlab.com/kicad/code/kicad/issues/12473
This commit is contained in:
@@ -58,9 +58,9 @@ wxString GetDefaultPlotExtension( PLOT_FORMAT aFormat )
|
||||
|
||||
|
||||
void PlotDrawingSheet( PLOTTER* plotter, const PROJECT* aProject, const TITLE_BLOCK& aTitleBlock,
|
||||
const PAGE_INFO& aPageInfo, const wxString& aSheetNumber, int aSheetCount,
|
||||
const wxString& aSheetName, const wxString& aSheetPath,
|
||||
const wxString& aFilename, COLOR4D aColor,
|
||||
const PAGE_INFO& aPageInfo, const std::map<wxString, wxString>* aProperties,
|
||||
const wxString& aSheetNumber, int aSheetCount, const wxString& aSheetName,
|
||||
const wxString& aSheetPath, const wxString& aFilename, COLOR4D aColor,
|
||||
bool aIsFirstPage )
|
||||
{
|
||||
/* Note: Page sizes values are given in mils
|
||||
@@ -89,6 +89,7 @@ void PlotDrawingSheet( PLOTTER* plotter, const PROJECT* aProject, const TITLE_BL
|
||||
drawList.SetSheetLayer( plotter->RenderSettings()->GetLayerName() );
|
||||
drawList.SetProject( aProject );
|
||||
drawList.SetIsFirstPage( aIsFirstPage );
|
||||
drawList.SetProperties( aProperties );
|
||||
|
||||
drawList.BuildDrawItemsList( aPageInfo, aTitleBlock );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user