7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 15:43:44 +00:00

Pcbnew, plot: plot table only on the right layer.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19272
This commit is contained in:
jean-pierre charras 2024-12-09 15:59:55 +01:00
parent 985454fa45
commit 10cd4582f2

View File

@ -1073,6 +1073,9 @@ void BRDITEMS_PLOTTER::PlotShape( const PCB_SHAPE* aShape )
void BRDITEMS_PLOTTER::PlotTableBorders( const PCB_TABLE* aTable )
{
if( !m_layerMask[aTable->GetLayer()] )
return;
VECTOR2I pos = aTable->GetPosition();
VECTOR2I end = aTable->GetEnd();
int lineWidth;