- fixed some selection issues in the new tool Eraser in Geometry Editor

- updated the translation files
This commit is contained in:
Marius Stanciu
2019-05-22 18:37:33 +03:00
parent f400294027
commit 17a93b8c7d
10 changed files with 4423 additions and 4360 deletions

View File

@@ -7738,7 +7738,10 @@ class FlatCAMRTree(object):
def remove_obj(self, objid, obj):
# Use all ptids to delete from index
for i, pt in enumerate(self.get_points(obj)):
self.rti.delete(self.obj2points[objid][i], (pt[0], pt[1], pt[0], pt[1]))
try:
self.rti.delete(self.obj2points[objid][i], (pt[0], pt[1], pt[0], pt[1]))
except IndexError:
pass
def nearest(self, pt):
"""