Initialize plot with aux origin checkbox.

Fixes: lp:1836923
* https://bugs.launchpad.net/kicad/+bug/1836923
This commit is contained in:
Jeff Young 2019-07-20 07:54:06 -06:00
parent 4a1edf581e
commit b5e01ea163
1 changed files with 7 additions and 2 deletions

View File

@ -160,8 +160,12 @@ void DIALOG_PLOT::init_Dialog()
// Option to exclude pads from silkscreen layers // Option to exclude pads from silkscreen layers
m_excludePadsFromSilkscreen->SetValue( !m_plotOpts.GetPlotPadsOnSilkLayer() ); m_excludePadsFromSilkscreen->SetValue( !m_plotOpts.GetPlotPadsOnSilkLayer() );
// Option to tent vias
m_subtractMaskFromSilk->SetValue( m_plotOpts.GetSubtractMaskFromSilk() ); m_subtractMaskFromSilk->SetValue( m_plotOpts.GetSubtractMaskFromSilk() );
// Option to use aux origin
m_useAuxOriginCheckBox->SetValue( m_plotOpts.GetUseAuxOrigin() );
// Option to plot page references: // Option to plot page references:
m_plotSheetRef->SetValue( m_plotOpts.GetPlotFrameRef() ); m_plotSheetRef->SetValue( m_plotOpts.GetPlotFrameRef() );
@ -179,12 +183,13 @@ void DIALOG_PLOT::init_Dialog()
// Plot mode // Plot mode
setPlotModeChoiceSelection( m_plotOpts.GetPlotMode() ); setPlotModeChoiceSelection( m_plotOpts.GetPlotMode() );
// Plot outline mode // DXF outline mode
m_DXF_plotModeOpt->SetValue( m_plotOpts.GetDXFPlotPolygonMode() ); m_DXF_plotModeOpt->SetValue( m_plotOpts.GetDXFPlotPolygonMode() );
// Plot text mode // DXF text mode
m_DXF_plotTextStrokeFontOpt->SetValue( m_plotOpts.GetTextMode() == PLOTTEXTMODE_DEFAULT ); m_DXF_plotTextStrokeFontOpt->SetValue( m_plotOpts.GetTextMode() == PLOTTEXTMODE_DEFAULT );
// DXF units selection
m_DXF_plotUnits->SetSelection( static_cast<int>( m_plotOpts.GetDXFPlotUnits() ) ); m_DXF_plotUnits->SetSelection( static_cast<int>( m_plotOpts.GetDXFPlotUnits() ) );
// Plot mirror option // Plot mirror option