kicad-cli: The --precision parameter was not recognized, if unit was inch, the export crashed
This commit is contained in:
parent
aee7680a6c
commit
63d828d5ff
|
@ -1463,7 +1463,7 @@ int PCBNEW_JOBS_HANDLER::JobExportIpc2581( JOB* aJob )
|
|||
STRING_UTF8_MAP props;
|
||||
props["units"] = job->m_units == JOB_EXPORT_PCB_IPC2581::IPC2581_UNITS::MILLIMETERS ? "mm"
|
||||
: "inch";
|
||||
props["sigfig"] = wxString::Format( "%d", job->m_units );
|
||||
props["sigfig"] = wxString::Format( "%d", job->m_precision );
|
||||
props["version"] = job->m_version == JOB_EXPORT_PCB_IPC2581::IPC2581_VERSION::C ? "C" : "B";
|
||||
props["OEMRef"] = job->m_colInternalId;
|
||||
props["mpn"] = job->m_colMfgPn;
|
||||
|
|
Loading…
Reference in New Issue