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

Footprint wizards: fix issues.

parent 8caef8f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -94,7 +94,7 @@ class FPCFootprintWizard(FootprintWizardPlugin):
        module.Value().SetTextPosition(module.Value().GetPos0())
        module.Value().SetTextPosition(module.Value().GetPos0())
        module.Value().SetSize( size_text )
        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 )
        module.SetFPID( fpid )


        # create a pad array and add it to the module
        # create a pad array and add it to the module
+1 −1
Original line number Original line Diff line number Diff line
@@ -184,7 +184,7 @@ class TouchSliderWizard(FootprintWizardPlugin):
            self.AddStrip(pos,steps,band_width,step_length,touch_clearance)
            self.AddStrip(pos,steps,band_width,step_length,touch_clearance)
            pos+=wxPoint(0,band_width)
            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 )
        module.SetFPID( fpid )


def register():
def register():