Commenting and formatting.

This commit is contained in:
Jeff Young 2023-05-02 14:13:33 +01:00
parent b0235a2805
commit ebc14b35f5
1 changed files with 4 additions and 2 deletions

View File

@ -1275,10 +1275,12 @@ bool PNS_KICAD_IFACE_BASE::syncTextItem( PNS::NODE* aWorld, EDA_TEXT* aText, PCB
rectShape->Append( point );
}
solid->SetShape( rectShape );
solid->SetShape( rectShape ); // takes ownership
}
else
{
solid->SetShape( aText->GetEffectiveTextShape()->Clone() );
}
solid->SetRoutable( false );