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:
parent
06c3879007
commit
bd4278140f
|
@ -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" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue