Allow graphical fill to be read as boolean

We had been allowing yes/solid/none with yes/solid both representing
true and none representing false.  This adds the complimentary boolean

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16262
This commit is contained in:
Seth Hillbrand 2023-12-04 13:46:31 -08:00
parent 06c3879007
commit bd4278140f
1 changed files with 2 additions and 1 deletions

View File

@ -2957,11 +2957,12 @@ PCB_SHAPE* PCB_PARSER::parsePCB_SHAPE( BOARD_ITEM* aParent )
break; break;
case T_none: case T_none:
case T_no:
shape->SetFilled( false ); shape->SetFilled( false );
break; break;
default: default:
Expecting( "yes, none, solid" ); Expecting( "yes, no, solid, none" );
} }
} }