Fix several bugs in SCH color printing and plotting.
Fixes https://gitlab.com/kicad/code/kicad/issues/6723
This commit is contained in:
@@ -289,10 +289,10 @@ void DIALOG_PLOT_SCHEMATIC::getPlotOptions( RENDER_SETTINGS* aSettings )
|
||||
aSettings->LoadColors( colors );
|
||||
aSettings->SetDefaultPenWidth( (int) m_defaultLineWidth.GetValue() );
|
||||
|
||||
if( m_plotBackgroundColor->GetValue() )
|
||||
aSettings->SetBackgroundColor( colors->GetColor( LAYER_SCHEMATIC_BACKGROUND ) );
|
||||
else
|
||||
aSettings->SetBackgroundColor( COLOR4D::UNSPECIFIED );
|
||||
if( m_plotBackgroundColor->GetValue() )
|
||||
aSettings->SetBackgroundColor( colors->GetColor( LAYER_SCHEMATIC_BACKGROUND ) );
|
||||
else
|
||||
aSettings->SetBackgroundColor( COLOR4D::UNSPECIFIED );
|
||||
|
||||
// Plot directory
|
||||
wxString path = m_outputDirectoryName->GetValue();
|
||||
|
||||
Reference in New Issue
Block a user