gerbview: Add LAYER_SELECT_OVERLAY to GAL
Ensure selected gerbview layers plotted on newly created SELECT layer
This commit is contained in:
parent
dc4125206b
commit
5f74560a46
|
@ -138,6 +138,9 @@ void GERBVIEW_DRAW_PANEL_GAL::setDefaultLayerDeps()
|
|||
m_view->SetLayerDisplayOnly( LAYER_GERBVIEW_BACKGROUND );
|
||||
m_view->SetLayerDisplayOnly( LAYER_WORKSHEET );
|
||||
|
||||
m_view->SetLayerTarget( LAYER_SELECT_OVERLAY, KIGFX::TARGET_OVERLAY );
|
||||
m_view->SetLayerDisplayOnly( LAYER_SELECT_OVERLAY );
|
||||
|
||||
m_view->SetLayerTarget( LAYER_GP_OVERLAY, KIGFX::TARGET_OVERLAY );
|
||||
m_view->SetLayerDisplayOnly( LAYER_GP_OVERLAY );
|
||||
}
|
||||
|
|
|
@ -623,7 +623,7 @@ EDA_ITEM* GERBVIEW_SELECTION_TOOL::disambiguationMenu( GERBER_COLLECTOR* aCollec
|
|||
KIGFX::VIEW_GROUP highlightGroup;
|
||||
CONTEXT_MENU menu;
|
||||
|
||||
highlightGroup.SetLayer( LAYER_GP_OVERLAY );
|
||||
highlightGroup.SetLayer( LAYER_SELECT_OVERLAY );
|
||||
getView()->Add( &highlightGroup );
|
||||
|
||||
int limit = std::min( 10, aCollector->GetCount() );
|
||||
|
|
Loading…
Reference in New Issue