- adapted HPGL importer to work within the new app

- in Gerber Editor fixed an error when using the Distance Tool with "Snap to center" option active: if clicking not on a pad Distance Tool was not working
- updated the Turkish translation strings (by Mehmet Kaya)
This commit is contained in:
Marius Stanciu
2020-10-31 01:28:00 +02:00
parent 3e1e12f42c
commit 0774f8d643
6 changed files with 86 additions and 71 deletions

View File

@@ -364,7 +364,8 @@ class Distance(AppTool):
self.app.inform.emit('[WARNING_NOTCL] %s' % _("Pads overlapped. Aborting."))
return
pos = (clicked_pads[0].x, clicked_pads[0].y)
if clicked_pads:
pos = (clicked_pads[0].x, clicked_pads[0].y)
self.app.on_jump_to(custom_location=pos, fit_center=False)
# Update cursor