Footprint wizards: fix issues.

This commit is contained in:
jean-pierre charras 2013-11-01 21:51:37 +01:00
parent 8caef8f8b1
commit 9e61c6ce1b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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():