- in Gerber Editor fixed the issue where some shapes that belong to a deleted aperture were still stored inside the selection storage after this deletion
This commit is contained in:
@@ -14,6 +14,7 @@ CHANGELOG for FlatCAM beta
|
||||
- in Gerber Editor fixed not being able to delete an aperture
|
||||
- in Gerber Editor fixed the edge case where the user selects apertures in the Tools Table and then uses the Poligonize Tool and not by selecting shapes on canvas
|
||||
- in Cutout Plugin remade the UI and fixed different issues
|
||||
- in Gerber Editor fixed the issue where some shapes that belong to a deleted aperture were still stored inside the selection storage after this deletion
|
||||
|
||||
21.09.2021
|
||||
|
||||
|
||||
@@ -3863,6 +3863,9 @@ class AppGerberEditor(QtCore.QObject):
|
||||
self.tid2apcode.pop(deleted_tool, None)
|
||||
|
||||
self.oldapcode_newapcode.pop(deleted_aperture, None)
|
||||
# delete any shape that was left in the selected storage from the deleted aperture
|
||||
# that is required since to delete an aperture we need to first select it
|
||||
self.selected[:] = []
|
||||
if deleted_aperture not in self.storage_dict:
|
||||
self.app.inform.emit('[success] %s: %s' % (_("Deleted aperture with code"), str(deleted_aperture)))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user