- Fix ViaStitching to follow change in python API
- Adding the circular zone tools
This commit is contained in:
@ -372,7 +372,7 @@ class FillArea:
|
||||
self.PrintRect(rectangle)
|
||||
|
||||
# Same job with existing text
|
||||
for draw in self.pcb.m_Drawings:
|
||||
for draw in self.pcb.DrawingsList():
|
||||
if (draw.GetClass() == 'PTEXT' and
|
||||
self.pcb.GetLayerID(draw.GetLayerName()) in (F_Cu, B_Cu)):
|
||||
inter = float(self.clearance + self.size)
|
||||
|
@ -22,13 +22,13 @@ import FillArea
|
||||
import wx
|
||||
import FillAreaDialog
|
||||
|
||||
|
||||
class FillAreaDialogEx(FillAreaDialog.FillAreaDialog):
|
||||
|
||||
def onDeleteClick( self, event ):
|
||||
def onDeleteClick(self, event):
|
||||
return self.EndModal(wx.ID_DELETE)
|
||||
|
||||
|
||||
|
||||
class FillAreaAction(pcbnew.ActionPlugin):
|
||||
|
||||
def defaults(self):
|
||||
@ -62,7 +62,7 @@ class FillAreaAction(pcbnew.ActionPlugin):
|
||||
fill.Run()
|
||||
except Exception:
|
||||
wx.MessageDialog(None, "Invalid parameter")
|
||||
if modal_result == wx.ID_DELETE:
|
||||
elif modal_result == wx.ID_DELETE:
|
||||
try:
|
||||
fill = FillArea.FillArea()
|
||||
if a.m_Debug.IsChecked():
|
||||
|
Reference in New Issue
Block a user