Add missing text var override to cli gerbers
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17283
This commit is contained in:
parent
9281561938
commit
d904535a15
|
@ -569,6 +569,7 @@ int PCBNEW_JOBS_HANDLER::JobExportGerbers( JOB* aJob )
|
||||||
|
|
||||||
BOARD* brd = LoadBoard( aGerberJob->m_filename, true );
|
BOARD* brd = LoadBoard( aGerberJob->m_filename, true );
|
||||||
loadOverrideDrawingSheet( brd, aGerberJob->m_drawingSheet );
|
loadOverrideDrawingSheet( brd, aGerberJob->m_drawingSheet );
|
||||||
|
brd->GetProject()->ApplyTextVars( aJob->GetVarOverrides() );
|
||||||
|
|
||||||
PCB_PLOT_PARAMS boardPlotOptions = brd->GetPlotOptions();
|
PCB_PLOT_PARAMS boardPlotOptions = brd->GetPlotOptions();
|
||||||
LSET plotOnAllLayersSelection = boardPlotOptions.GetPlotOnAllLayersSelection();
|
LSET plotOnAllLayersSelection = boardPlotOptions.GetPlotOnAllLayersSelection();
|
||||||
|
|
Loading…
Reference in New Issue