Get all eeschema layers properly ordered

Layers not in the given order are drawn behind everyone else.  Missing
the text prevents global labels from showing properly in GAL order

Fixes https://gitlab.com/kicad/code/kicad/issues/10546
This commit is contained in:
Seth Hillbrand 2022-01-23 09:55:58 -08:00
parent 029e42f8d1
commit f12d0cb0e2
1 changed files with 2 additions and 1 deletions

View File

@ -48,12 +48,13 @@ static const LAYER_NUM SCH_LAYER_ORDER[] =
LAYER_ERC_ERR, LAYER_ERC_WARN, LAYER_DANGLING,
LAYER_REFERENCEPART, LAYER_VALUEPART, LAYER_FIELDS,
LAYER_BUS_JUNCTION, LAYER_JUNCTION, LAYER_NOCONNECT,
LAYER_HIERLABEL,
LAYER_HIERLABEL, LAYER_GLOBLABEL, LAYER_LOCLABEL,
LAYER_WIRE, LAYER_BUS,
LAYER_DEVICE,
LAYER_NOTES,
LAYER_SHEET,
LAYER_SELECTION_SHADOWS,
LAYER_DRAW_BITMAPS,
LAYER_DEVICE_BACKGROUND,
LAYER_SHEET_BACKGROUND,
LAYER_DRAWINGSHEET