Don't duplicate footprint bookmarks when plotting multiple PCB layers.
This commit is contained in:
parent
7d3fa8fb4e
commit
b09ab2daab
|
@ -108,6 +108,8 @@ void PlotInteractiveLayer( BOARD* aBoard, PLOTTER* aPlotter, const PCB_PLOT_PARA
|
||||||
fp->GetKeywords() ) );
|
fp->GetKeywords() ) );
|
||||||
|
|
||||||
aPlotter->HyperlinkMenu( fp->GetBoundingBox(), properties );
|
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->EndBlock( nullptr );
|
||||||
aPlotter->Bookmark( footprint->GetBoundingBox(), footprint->GetReference(), _( "Footprints" ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Plot vias on copper layers, and if aPlotOpt.GetPlotViaOnMaskLayer() is true,
|
// Plot vias on copper layers, and if aPlotOpt.GetPlotViaOnMaskLayer() is true,
|
||||||
|
|
Loading…
Reference in New Issue