pcad2kicadpcb_plugin: unlock orientation of footprint fields

This commit is contained in:
Eldar Khayrullin 2017-12-10 21:46:57 +03:00 committed by Maciej Suminski
parent c9852d7c81
commit 6f0e0826fa
1 changed files with 2 additions and 0 deletions

View File

@ -534,6 +534,7 @@ void PCB_MODULE::AddToBoard()
r = m_name.textRotation - m_rotation; r = m_name.textRotation - m_rotation;
ref_text->SetTextAngle( r ); ref_text->SetTextAngle( r );
ref_text->SetUnlocked( true );
ref_text->SetItalic( m_name.isItalic ); ref_text->SetItalic( m_name.isItalic );
ref_text->SetThickness( m_name.textstrokeWidth ); ref_text->SetThickness( m_name.textstrokeWidth );
@ -557,6 +558,7 @@ void PCB_MODULE::AddToBoard()
r = m_value.textRotation - m_rotation; r = m_value.textRotation - m_rotation;
val_text->SetTextAngle( r ); val_text->SetTextAngle( r );
val_text->SetUnlocked( true );
val_text->SetItalic( m_value.isItalic ); val_text->SetItalic( m_value.isItalic );
val_text->SetThickness( m_value.textstrokeWidth ); val_text->SetThickness( m_value.textstrokeWidth );