Update python footprints wizards to be compatible with last changes in code.
(PCB_TEXT Ctor has changed).
This commit is contained in:
@@ -164,7 +164,7 @@ class BGAWizard(FootprintWizardBase.FootprintWizard):
|
||||
self.draw.Reference(0, -ypos, text_size)
|
||||
|
||||
# Add a extra text (${REFERENCE}) on the F_Fab layer
|
||||
extra_text = pcbnew.PCB_TEXT( self.module, pcbnew.PCB_TEXT.TEXT_is_DIVERS )
|
||||
extra_text = pcbnew.PCB_TEXT( self.module )
|
||||
extra_text.SetLayer( pcbnew.F_Fab )
|
||||
extra_text.SetPosition( pcbnew.VECTOR2I( 0, 0) )
|
||||
extra_text.SetTextSize( pcbnew.VECTOR2I( text_size, text_size ) )
|
||||
|
||||
Reference in New Issue
Block a user