Footprint wizards: fix some issues due to C++ code change.

Some constants were renamed, breaking some wizards.
This commit is contained in:
jean-pierre charras
2020-09-02 15:45:20 +02:00
parent c0afeed13d
commit eb16fec7ec
8 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -113,9 +113,9 @@ class RowedFootprint(FootprintWizardBase.FootprintWizard):
# set SMD attribute
if self.GetName() == "ZIP":
self.module.SetAttributes(pcbnew.MOD_DEFAULT)
self.module.SetAttributes(pcbnew.MOD_THROUGH_HOLE)
elif self.GetName() == "ZOIC":
self.module.SetAttributes(pcbnew.MOD_CMS)
self.module.SetAttributes(pcbnew.MOD_SMD)
def DrawBox(self, sizex, sizey):