Try to use the theme setting for the cli pcb svg export

This commit is contained in:
Marek Roszko 2023-01-24 22:57:28 -05:00
parent 51293858b3
commit ae812bdf39
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ bool PCB_PLOT_SVG::Plot( BOARD* aBoard, const PCB_PLOT_SVG_OPTIONS& aSvgPlotOpti
SETTINGS_MANAGER& mgr = Pgm().GetSettingsManager();
PCBNEW_SETTINGS* cfg = mgr.GetAppSettings<PCBNEW_SETTINGS>();
plot_opts.SetColorSettings( mgr.GetColorSettings( cfg->m_ColorTheme ) );
plot_opts.SetColorSettings( mgr.GetColorSettings( aSvgPlotOptions.m_colorTheme ) );
LOCALE_IO toggle;