Keep schematic text upright (especially when opening v6 schematic).
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17082
This commit is contained in:
parent
b4e993e6e8
commit
bec068324e
|
@ -4006,7 +4006,7 @@ SCH_TEXT* SCH_IO_KICAD_SEXPR_PARSER::parseSchText()
|
|||
|
||||
case T_at:
|
||||
text->SetPosition( parseXY() );
|
||||
text->SetTextAngle( EDA_ANGLE( parseDouble( "text angle" ), DEGREES_T ) );
|
||||
text->SetTextAngle( EDA_ANGLE( parseDouble( "text angle" ), DEGREES_T ).KeepUpright() );
|
||||
|
||||
if( SCH_LABEL_BASE* label = dynamic_cast<SCH_LABEL_BASE*>( text.get() ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue