Don't duplicate footprint bookmarks when plotting multiple PCB layers.

This commit is contained in:
Alex Shvartzkop 2023-07-04 08:08:48 +03:00
parent 7d3fa8fb4e
commit b09ab2daab
1 changed files with 2 additions and 1 deletions

View File

@ -108,6 +108,8 @@ void PlotInteractiveLayer( BOARD* aBoard, PLOTTER* aPlotter, const PCB_PLOT_PARA
fp->GetKeywords() ) );
aPlotter->HyperlinkMenu( fp->GetBoundingBox(), properties );
aPlotter->Bookmark( fp->GetBoundingBox(), fp->GetReference(), _( "Footprints" ) );
}
}
@ -542,7 +544,6 @@ void PlotStandardLayer( BOARD* aBoard, PLOTTER* aPlotter, LSET aLayerMask,
}
aPlotter->EndBlock( nullptr );
aPlotter->Bookmark( footprint->GetBoundingBox(), footprint->GetReference(), _( "Footprints" ) );
}
// Plot vias on copper layers, and if aPlotOpt.GetPlotViaOnMaskLayer() is true,