Commit 9e61c6ce authored by jean-pierre charras's avatar jean-pierre charras

Footprint wizards: fix issues.

parent 8caef8f8
......@@ -94,7 +94,7 @@ class FPCFootprintWizard(FootprintWizardPlugin):
module.Value().SetTextPosition(module.Value().GetPos0())
module.Value().SetSize( size_text )
fpid = pcbnew.FPID(self.module.GetReference()) #the name in library
fpid = FPID(self.module.GetReference()) #the name in library
module.SetFPID( fpid )
# create a pad array and add it to the module
......
......@@ -184,7 +184,7 @@ class TouchSliderWizard(FootprintWizardPlugin):
self.AddStrip(pos,steps,band_width,step_length,touch_clearance)
pos+=wxPoint(0,band_width)
fpid = pcbnew.FPID(self.module.GetReference()) #the name in library
fpid = FPID(self.module.GetReference()) #the name in library
module.SetFPID( fpid )
def register():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment