eeschema: Fix issue when saving labels having more than 50 chars
These labels (or global label...) were saved with a erroneous angle. Fixes #12151 https://gitlab.com/kicad/code/kicad/issues/12151
This commit is contained in:
parent
5f00847a86
commit
411d57396c
|
@ -1463,7 +1463,7 @@ void SCH_SEXPR_PLUGIN::saveText( SCH_TEXT* aText, int aNestLevel )
|
|||
m_out->Print( aNestLevel + 1, "(at %s %s %s)",
|
||||
FormatInternalUnits( aText->GetPosition().x ).c_str(),
|
||||
FormatInternalUnits( aText->GetPosition().y ).c_str(),
|
||||
FormatAngle( aText->GetTextAngle() ).c_str() );
|
||||
FormatAngle( angle * 10.0 ).c_str() );
|
||||
}
|
||||
|
||||
if( aText->GetFieldsAutoplaced() != FIELDS_AUTOPLACED_NO )
|
||||
|
|
Loading…
Reference in New Issue