Write hide flag at 9.0 level (inside effects).
This commit is contained in:
@@ -911,8 +911,13 @@ void SCH_IO_KICAD_SEXPR::saveField( SCH_FIELD* aField )
|
||||
aField->GetPosition().y ).c_str(),
|
||||
EDA_UNIT_UTILS::FormatAngle( aField->GetTextAngle() ).c_str() );
|
||||
|
||||
// For 9.0.x versions keep writing the "hide" flag inside "effects".
|
||||
if( !aField->IsVisible() )
|
||||
{
|
||||
m_out->Print( "(effects" );
|
||||
KICAD_FORMAT::FormatBool( m_out, "hide", true );
|
||||
m_out->Print( ")" );
|
||||
}
|
||||
|
||||
if( aField->IsNameShown() )
|
||||
KICAD_FORMAT::FormatBool( m_out, "show_name", true );
|
||||
|
||||
Reference in New Issue
Block a user