Don't throw the number box baby out with the bathwater....

This commit is contained in:
Jeff Young 2023-09-12 17:29:32 +01:00
parent 52ab23d1f6
commit 375a4af478
1 changed files with 8 additions and 1 deletions

View File

@ -4577,12 +4577,19 @@ PAD* PCB_PARSER::parsePAD( FOOTPRINT* aParent )
case T_gr_line:
case T_gr_circle:
case T_gr_rect:
case T_gr_bbox:
case T_gr_poly:
case T_gr_curve:
pad->AddPrimitive( parsePCB_SHAPE( nullptr ) );
break;
case T_gr_bbox:
{
PCB_SHAPE* numberBox = parsePCB_SHAPE( nullptr );
numberBox->SetIsAnnotationProxy();
pad->AddPrimitive( numberBox );
break;
}
default:
Expecting( "gr_line, gr_arc, gr_circle, gr_curve, gr_rect, gr_bbox or gr_poly" );
break;