- fixed some leftovers due of recent changes in the theme management
- added a new feature (new modules are required) in the Image Plugin (Menu -> File -> Import -> Import Image) that allow tracing images. This may allow engraving pictures. - started to add UI's for the Excellon Editor Tools (really early work)
This commit is contained in:
@@ -536,7 +536,7 @@ class FlatCAMObj(QtCore.QObject):
|
||||
font = QtGui.QFont()
|
||||
font.setBold(True)
|
||||
|
||||
p_color = QtGui.QColor("#000000") if self.app.options['global_theme'] == 'light' \
|
||||
p_color = QtGui.QColor("#000000") if self.app.options['global_theme'] in ['default', 'light'] \
|
||||
else QtGui.QColor("#FFFFFF")
|
||||
|
||||
# main Items categories
|
||||
|
||||
@@ -988,7 +988,7 @@ class GerberObject(FlatCAMObj, Gerber):
|
||||
used_color = random_color() if self.obj_options['multicolored'] else 'black'
|
||||
used_face_color = None
|
||||
|
||||
if self.app.options["gerber_plot_line_disable"] is True:
|
||||
if self.app.options["gerber_plot_line_enable"] is False:
|
||||
used_color = None
|
||||
if isinstance(plot_geometry, (Polygon, LineString)):
|
||||
self.add_shape(shape=plot_geometry, color=used_color, face_color=used_face_color, visible=visible)
|
||||
|
||||
Reference in New Issue
Block a user