Browse Source

Make cli obey its own options

--erd and --ev are cli options to prevent plotting of the reference
designator and the value.  These need to be passed to plot options in
order to be obeyed
9.0
Seth Hillbrand 8 months ago
parent
commit
31a3a7d406
  1. 2
      pcbnew/pcb_plotter.cpp

2
pcbnew/pcb_plotter.cpp

@ -371,6 +371,8 @@ void PCB_PLOTTER::PlotJobToPlotOpts( PCB_PLOT_PARAMS& aOpts, JOB_EXPORT_PCB_PLOT
aOpts.SetUseAuxOrigin( aJob->m_useDrillOrigin );
aOpts.SetPlotFrameRef( aJob->m_plotDrawingSheet );
aOpts.SetPlotInvisibleText( aJob->m_plotInvisibleText );
aOpts.SetPlotReference( aJob->m_plotRefDes );
aOpts.SetPlotValue( aJob->m_plotFootprintValues );
aOpts.SetSketchPadsOnFabLayers( aJob->m_sketchPadsOnFabLayers );
aOpts.SetHideDNPFPsOnFabLayers( aJob->m_hideDNPFPsOnFabLayers );
aOpts.SetSketchDNPFPsOnFabLayers( aJob->m_sketchDNPFPsOnFabLayers );

Loading…
Cancel
Save