- improved Mark Area Tool in Gerber Editor such that at each launch the previous markings are deleted

This commit is contained in:
Marius Stanciu 2019-08-12 23:34:56 +03:00
parent 04bc1ba013
commit 3bf5992023
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@ CAD program, and create G-Code for Isolation routing.
- improved the FlatCAMGerber.isolate() function to work for geometry in the form of list and also in case that the elements of the list are LinearRings (like when doing the Exterior Isolation)
- in NCC Tool made sure that at each run the old objects are deleted
- fixed bug in camlib.Gerber.parse_lines() Gerber parser where for Allegro Gerber files the Gerber units were incorrectly detected
- improved Mark Area Tool in Gerber Editor such that at each launch the previous markings are deleted
11.08.2019

View File

@ -1775,6 +1775,9 @@ class FCMarkArea(FCShapeTool):
self.draw_app.hide_tool('all')
self.draw_app.ma_tool_frame.show()
# clear previous marking
self.draw_app.ma_annotation.clear(update=True)
try:
self.draw_app.ma_threshold__button.clicked.disconnect()
except (TypeError, AttributeError):