Fixed: All pcbnew plot formats generated gerber job files

This commit is contained in:
Salvador E. Tropea 2020-05-25 18:31:31 -03:00
parent f7af290113
commit c22ccb607a
2 changed files with 5 additions and 0 deletions

View File

@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Tolerate config files without outputs
### Fixed
- All pcbnew plot formats generated gerber job files
## [0.2.4] - 2020-05-19
### Changed
- Now kicad-automation-scripts 1.3.1 or newer is needed.

View File

@ -773,6 +773,8 @@ class Plotter(object):
# in general, false, but gerber will set it back later
po.SetUseGerberAttributes(False)
# Only useful for gerber outputs
po.SetCreateGerberJobFile(False)
if output.options.type == PCfg.OutputOptions.GERBER:
self._configure_gerber_opts(po, output)