Browse Source

Fix dxf/svg job status

pcb_db
Marek Roszko 1 year ago
parent
commit
ae1dd1ed20
  1. 4
      pcbnew/pcbnew_jobs_handler.cpp

4
pcbnew/pcbnew_jobs_handler.cpp

@ -690,7 +690,7 @@ int PCBNEW_JOBS_HANDLER::JobExportSvg( JOB* aJob )
PCB_PLOTTER::PlotJobToPlotOpts( plotOpts, aSvgJob );
PCB_PLOTTER plotter( brd, m_reporter, plotOpts );
if( plotter.Plot( aSvgJob->GetFullOutputPath(), aSvgJob->m_printMaskLayer,
if( !plotter.Plot( aSvgJob->GetFullOutputPath(), aSvgJob->m_printMaskLayer,
aSvgJob->m_printMaskLayersToIncludeOnAllLayers, false ) )
{
return CLI::EXIT_CODES::ERR_UNKNOWN;
@ -782,7 +782,7 @@ int PCBNEW_JOBS_HANDLER::JobExportDxf( JOB* aJob )
PCB_PLOTTER::PlotJobToPlotOpts( plotOpts, aDxfJob );
PCB_PLOTTER plotter( brd, m_reporter, plotOpts );
if( plotter.Plot( aDxfJob->GetFullOutputPath(), aDxfJob->m_printMaskLayer,
if( !plotter.Plot( aDxfJob->GetFullOutputPath(), aDxfJob->m_printMaskLayer,
aDxfJob->m_printMaskLayersToIncludeOnAllLayers, false ) )
{
return CLI::EXIT_CODES::ERR_UNKNOWN;

Loading…
Cancel
Save