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 a7e6928f4e
commit d05093e6f7
1 changed files with 8 additions and 1 deletions

View File

@ -4948,12 +4948,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() );
break;
case T_gr_bbox:
{
PCB_SHAPE* numberBox = parsePCB_SHAPE();
numberBox->SetIsAnnotationProxy();
pad->AddPrimitive( numberBox );
break;
}
default:
Expecting( "gr_line, gr_arc, gr_circle, gr_curve, gr_rect, gr_bbox or gr_poly" );
break;