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

(cherry picked from commit f12d0cb0e2)
This commit is contained in:
Seth Hillbrand 2022-01-23 09:55:58 -08:00
parent 58e167013d
commit 0926eb3287
1 changed files with 2 additions and 1 deletions

View File

@ -49,12 +49,13 @@ static const int SCH_LAYER_ORDER[] =
LAYER_REFERENCEPART, LAYER_VALUEPART, LAYER_FIELDS,
LAYER_INTERSHEET_REFS, LAYER_NETCLASS_REFS,
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_NOTES_BACKGROUND,