- all Geometry objects resulted from Isolation Tool are now of type multi-geo

- fixed minor glitch in the Isolation Tool UI
- added an extra check when doing selection on canvas
- fixed an UI problem in Gerber Editor
This commit is contained in:
Marius Stanciu
2020-08-07 13:55:32 +03:00
parent 06bb17f255
commit 9b6c65cdcb
4 changed files with 22 additions and 15 deletions

View File

@@ -6498,6 +6498,9 @@ class App(QtCore.QObject):
(obj.options['xmax'], obj.options['ymin']),
(obj.options['xmax'], obj.options['ymax']),
(obj.options['xmin'], obj.options['ymax'])])
if poly_obj.is_empty or not poly_obj.is_valid:
continue
if sel_type is True:
if poly_obj.within(poly_selection):
# create the selection box around the selected object