From ae812bdf3934ba74d0fe13dcae5c505f73f56b4f Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Tue, 24 Jan 2023 22:57:28 -0500 Subject: [PATCH] Try to use the theme setting for the cli pcb svg export --- pcbnew/pcb_plot_svg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/pcb_plot_svg.cpp b/pcbnew/pcb_plot_svg.cpp index 2858ac8aa6..1557be0b13 100644 --- a/pcbnew/pcb_plot_svg.cpp +++ b/pcbnew/pcb_plot_svg.cpp @@ -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(); - plot_opts.SetColorSettings( mgr.GetColorSettings( cfg->m_ColorTheme ) ); + plot_opts.SetColorSettings( mgr.GetColorSettings( aSvgPlotOptions.m_colorTheme ) ); LOCALE_IO toggle;