- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user