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:
parent
fbe677e46e
commit
d6b95236a4
|
@ -167,6 +167,8 @@ void GERBVIEW_DRAW_PANEL_GAL::SetTopLayer( int aLayer )
|
||||||
// Move DCODE layer to the top
|
// Move DCODE layer to the top
|
||||||
m_view->SetTopLayer( GERBER_DCODE_LAYER( aLayer ) );
|
m_view->SetTopLayer( GERBER_DCODE_LAYER( aLayer ) );
|
||||||
|
|
||||||
|
m_view->SetTopLayer( LAYER_SELECT_OVERLAY );
|
||||||
|
|
||||||
m_view->SetTopLayer( LAYER_GP_OVERLAY );
|
m_view->SetTopLayer( LAYER_GP_OVERLAY );
|
||||||
|
|
||||||
m_view->UpdateAllLayersOrder();
|
m_view->UpdateAllLayersOrder();
|
||||||
|
|
|
@ -48,8 +48,8 @@ const LAYER_NUM GAL_LAYER_ORDER[] =
|
||||||
{
|
{
|
||||||
LAYER_GP_OVERLAY,
|
LAYER_GP_OVERLAY,
|
||||||
LAYER_DRC,
|
LAYER_DRC,
|
||||||
LAYER_PADS_NETNAMES, LAYER_VIAS_NETNAMES,
|
|
||||||
LAYER_SELECT_OVERLAY,
|
LAYER_SELECT_OVERLAY,
|
||||||
|
LAYER_PADS_NETNAMES, LAYER_VIAS_NETNAMES,
|
||||||
Dwgs_User, Cmts_User, Eco1_User, Eco2_User, Edge_Cuts,
|
Dwgs_User, Cmts_User, Eco1_User, Eco2_User, Edge_Cuts,
|
||||||
|
|
||||||
LAYER_MOD_TEXT_FR,
|
LAYER_MOD_TEXT_FR,
|
||||||
|
|
Loading…
Reference in New Issue