gal: correct layer ordering

Net labels need to be rendered under the selected item.

Fixes: lp:1790016
* https://bugs.launchpad.net/kicad/+bug/1790016
This commit is contained in:
Seth Hillbrand 2018-08-30 16:54:08 -07:00
parent fbe677e46e
commit d6b95236a4
2 changed files with 3 additions and 1 deletions

View File

@ -167,6 +167,8 @@ void GERBVIEW_DRAW_PANEL_GAL::SetTopLayer( int aLayer )
// Move DCODE layer to the top
m_view->SetTopLayer( GERBER_DCODE_LAYER( aLayer ) );
m_view->SetTopLayer( LAYER_SELECT_OVERLAY );
m_view->SetTopLayer( LAYER_GP_OVERLAY );
m_view->UpdateAllLayersOrder();

View File

@ -48,8 +48,8 @@ const LAYER_NUM GAL_LAYER_ORDER[] =
{
LAYER_GP_OVERLAY,
LAYER_DRC,
LAYER_PADS_NETNAMES, LAYER_VIAS_NETNAMES,
LAYER_SELECT_OVERLAY,
LAYER_PADS_NETNAMES, LAYER_VIAS_NETNAMES,
Dwgs_User, Cmts_User, Eco1_User, Eco2_User, Edge_Cuts,
LAYER_MOD_TEXT_FR,