Table plotting for PCBNew.

Also fixes some bugs with property exposure that (along with
other things) allowed you to put table cells on a different
layer than their parent table.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17438
This commit is contained in:
Jeff Young
2024-03-24 16:49:33 +00:00
parent 67d6e6afdf
commit 5d37a00759
4 changed files with 145 additions and 1 deletions
+8
View File
@@ -2050,6 +2050,14 @@ static struct EDA_SHAPE_DESC
auto fillAvailable =
[=]( INSPECTABLE* aItem ) -> bool
{
if( EDA_ITEM* edaItem = dynamic_cast<EDA_ITEM*>( aItem ) )
{
// For some reason masking "Filled" and "Fill Color" at the
// PCB_TABLECELL level doesn't work.
if( edaItem->Type() == PCB_TABLECELL_T )
return false;
}
if( EDA_SHAPE* edaShape = dynamic_cast<EDA_SHAPE*>( aItem ) )
{
switch( edaShape->GetShape() )