Commenting and formatting.

This commit is contained in:
Jeff Young 2023-05-02 14:13:33 +01:00
parent f840fe3d38
commit 80f8cd2254
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->SetShape( aText->GetEffectiveTextShape()->Clone() );
}
solid->SetRoutable( false );