Make sure HPGL and DXF drill map generators honour origin setting.
ADDED: also adds origin setting to Footprint Position File dialog and generators. Fixes https://gitlab.com/kicad/code/kicad/issues/8669
This commit is contained in:
@@ -411,8 +411,13 @@ void DIALOG_PLOT::OnOutputDirectoryBrowseClicked( wxCommandEvent& event )
|
||||
PLOT_FORMAT DIALOG_PLOT::getPlotFormat()
|
||||
{
|
||||
// plot format id's are ordered like displayed in m_plotFormatOpt
|
||||
static const PLOT_FORMAT plotFmt[] = { PLOT_FORMAT::GERBER, PLOT_FORMAT::POST, PLOT_FORMAT::SVG,
|
||||
PLOT_FORMAT::DXF, PLOT_FORMAT::HPGL, PLOT_FORMAT::PDF };
|
||||
static const PLOT_FORMAT plotFmt[] = {
|
||||
PLOT_FORMAT::GERBER,
|
||||
PLOT_FORMAT::POST,
|
||||
PLOT_FORMAT::SVG,
|
||||
PLOT_FORMAT::DXF,
|
||||
PLOT_FORMAT::HPGL,
|
||||
PLOT_FORMAT::PDF };
|
||||
|
||||
return plotFmt[m_plotFormatOpt->GetSelection()];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user