- fixed a bug in the FlatCAMGerber.on_mark_cb_click_table() method when moving a Gerber object

- added a way to remember the colors set for the Gerber objects; it will remember the order that they were loaded and set a color previously given
This commit is contained in:
Marius Stanciu
2020-07-20 19:21:17 +03:00
committed by Marius
parent 8409c74e23
commit ebdb2b3ca0
6 changed files with 135 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import os
import stat
import sys
from copy import deepcopy
from Common import LoudDict
from Common import LoudDict, LoudUniqueList
from camlib import to_dict, CNCjob, Geometry
import simplejson
import logging
@@ -156,6 +156,8 @@ class FlatCAMDefaults:
"gerber_plot": True,
"gerber_solid": True,
"gerber_multicolored": False,
"gerber_color_list": LoudUniqueList(),
"gerber_circle_steps": 64,
"gerber_use_buffer_for_union": True,
"gerber_clean_apertures": True,