pcbnew: Clean up warnings with unit handling in the DXF export
(cherry picked from commit ff9d899ae0)
This commit is contained in:
committed by
Wayne Stambaugh
parent
09d7d0f1bc
commit
40ba502853
@@ -1060,7 +1060,8 @@ PLOTTER* StartPlotBoard( BOARD *aBoard, PCB_PLOT_PARAMS *aPlotOpts,
|
||||
case PLOT_FORMAT_DXF:
|
||||
DXF_PLOTTER* DXF_plotter;
|
||||
DXF_plotter = new DXF_PLOTTER();
|
||||
DXF_plotter->SetUnits( static_cast<DXF_PLOTTER::Units>( aPlotOpts->GetDXFPlotUnits() ) );
|
||||
DXF_plotter->SetUnits(
|
||||
static_cast<DXF_PLOTTER::DXF_UNITS>( aPlotOpts->GetDXFPlotUnits() ) );
|
||||
|
||||
plotter = DXF_plotter;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user