- more work in NCC Tool upgrade; each tool now work with it's own set of parameters

This commit is contained in:
Marius Stanciu
2020-01-17 17:02:49 +02:00
parent 316b04a56a
commit 6c43ffca1e
3 changed files with 340 additions and 449 deletions

View File

@@ -4306,12 +4306,12 @@ class App(QtCore.QObject):
try:
if kind == 'excellon':
obj.fill_color = self.app.defaults["excellon_plot_fill"]
obj.outline_color = self.app.defaults["excellon_plot_line"]
obj.fill_color = self.defaults["excellon_plot_fill"]
obj.outline_color = self.defaults["excellon_plot_line"]
if kind == 'gerber':
obj.fill_color = self.app.defaults["gerber_plot_fill"]
obj.outline_color = self.app.defaults["gerber_plot_line"]
obj.fill_color = self.defaults["gerber_plot_fill"]
obj.outline_color = self.defaults["gerber_plot_line"]
except Exception as e:
log.warning("App.new_object() -> setting colors error. %s" % str(e))