- in Basic mode, the tool type column is no longer hidden as it may create issues when using an painted geometry

- some PEP8 clean-up in FlatCAMGui.py
This commit is contained in:
Marius Stanciu
2019-07-29 00:35:59 +03:00
parent 338f12707d
commit c6e3176ac3
5 changed files with 80 additions and 87 deletions

View File

@@ -2154,11 +2154,12 @@ class Gerber (Geometry):
# Otherwise leave as is.
else:
# yield cleanline
# yield clean line
yield line
break
self.parse_lines(line_generator())
processed_lines = list(line_generator())
self.parse_lines(processed_lines)
# @profile
def parse_lines(self, glines):
@@ -2241,10 +2242,10 @@ class Gerber (Geometry):
gline = gline.strip(' \r\n')
# log.debug("Line=%3s %s" % (line_num, gline))
# ############################################################# ##
# Ignored lines #
# Comments #### ##
# ############################################################# ##
# ###################
# Ignored lines #####
# Comments #####
# ###################
match = self.comm_re.search(gline)
if match:
continue