- fixed an error in Gerber parser, when it encounter a pen-up followed by pen-down move while in a region
This commit is contained in:
parent
13e4d7bad7
commit
77c66862c5
|
@ -19,6 +19,7 @@ CHANGELOG for FlatCAM beta
|
|||
- updated Turkish translation (by Mehmet Kaya)
|
||||
- in NCC and Isolation Tools, the Validity Checking of the tools is now multithreaded when the Check Validity UI control is checked
|
||||
- translation strings updated
|
||||
- fixed an error in Gerber parser, when it encounter a pen-up followed by pen-down move while in a region
|
||||
|
||||
2.11.2020
|
||||
|
||||
|
|
|
@ -953,6 +953,11 @@ class Gerber(Geometry):
|
|||
# Reset path starting point
|
||||
path = [[current_x, current_y]]
|
||||
|
||||
# treat the case when there is a flash inside a Gerber Region when the current_aperture
|
||||
# is None
|
||||
if current_aperture is None:
|
||||
pass
|
||||
else:
|
||||
# --- BUFFERED ---
|
||||
# Draw the flash
|
||||
# this treats the case when we are storing geometry as paths
|
||||
|
|
Loading…
Reference in New Issue