Browse Source

Fix FootprintWizardBase.py according to recent changes in lib_id.h

pull/13/head
jean-pierre charras 7 years ago
parent
commit
1dbaef303e
  1. 2
      pcbnew/python/plugins/FootprintWizardBase.py

2
pcbnew/python/plugins/FootprintWizardBase.py

@ -136,7 +136,7 @@ class FootprintWizard(pcbnew.FootprintWizardPlugin):
self.module.SetValue(self.GetValue())
self.module.SetReference("%s**" % self.GetReferencePrefix())
fpid = pcbnew.LIB_ID(self.module.GetValue()) # the name in library
fpid = pcbnew.LIB_ID("", self.module.GetValue()) # the lib name (empty) and the name in library
self.module.SetFPID(fpid)
self.SetModule3DModel() # add a 3D module if specified

Loading…
Cancel
Save