- added a protection for the case that the aperture table is part of a deleted object

This commit is contained in:
Marius Stanciu 2019-05-05 18:21:58 +03:00
parent 41956d68d6
commit ae775b520e
2 changed files with 10 additions and 2 deletions

View File

@ -9,13 +9,17 @@ CAD program, and create G-Code for Isolation routing.
=================================================
5.05.2019
- another fix for bug in clear geometry processing for Gerber apertures
- added a protection for the case that the aperture table is part of a deleted object
4.05.2019
- fixed bug in camlib.parse_lines() in the clear_geometry processing section for self.apertures
- fixed bug in parsing Gerber regions (a point was added unnecessary)
- renamed the menu entry Edit -> Copy as Geo to Convert Any to Geo and moved it in the Edit -> Conversion
- created a new function named Convert Any to Gerber and installed it in Edit -> Conversion. It's doing what the name say: it will convert an Geometry or Excellon FlatCAM object to a Gerber object.
- another fix for bug in clear geometry processing for Gerber apertures
01.05.2019

View File

@ -1582,7 +1582,11 @@ class FCApertureSelect(DrawTool):
# bending modes using in FCRegion and FCTrack
self.draw_app.bend_mode = 1
self.grb_editor_app.apertures_table.clearSelection()
try:
self.grb_editor_app.apertures_table.clearSelection()
except Exception as e:
log.error("FlatCAMGerbEditor.FCApertureSelect.__init__() --> %s" % str(e))
self.grb_editor_app.hide_tool('all')
self.grb_editor_app.hide_tool('select')