Make FootprintWizardBase.py compatible with last changes in EDA_TEXT.

This commit is contained in:
jean-pierre charras
2017-01-26 20:19:20 +01:00
parent 2f0ab8b13d
commit c761d30ade
2 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -76,7 +76,8 @@ class FPC_FootprintWizard(FootprintWizardBase.FootprintWizard):
# Gives a position and size to ref and value texts:
textposy = pad_height/2 + pcbnew.FromMM(1) + self.GetTextThickness()
self.draw.Reference( 0, textposy, size_text )
angle_degree = 0.0
self.draw.Reference( 0, textposy, size_text, angle_degree )
textposy = textposy + size_text + self.GetTextThickness()
self.draw.Value( 0, textposy, size_text )