ADDED: plot control over FP text.

(Also adds said control to "Follow Plot Settings" in 3D viewer.)
This commit is contained in:
Jeff Young
2023-08-15 16:56:46 +01:00
parent 8c33c6c099
commit 686704bb31
11 changed files with 304 additions and 234 deletions
+3 -1
View File
@@ -275,6 +275,9 @@ void BRDITEMS_PLOTTER::PlotPad( const PAD* aPad, const COLOR4D& aColor, OUTLINE_
void BRDITEMS_PLOTTER::PlotFootprintTextItems( const FOOTPRINT* aFootprint )
{
if( !GetPlotFPText() )
return;
const PCB_TEXT* textItem = &aFootprint->Reference();
PCB_LAYER_ID textLayer = textItem->GetLayer();
@@ -294,7 +297,6 @@ void BRDITEMS_PLOTTER::PlotFootprintTextItems( const FOOTPRINT* aFootprint )
PlotText( textItem, textLayer, textItem->IsKnockout(), textItem->GetFontMetrics() );
}
std::vector<PCB_TEXT*> texts;
// Skip the reference and value texts that are handled specially