From 0926eb3287bab1ff7fc549cbb83e0d674bb79f59 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Sun, 23 Jan 2022 09:55:58 -0800 Subject: [PATCH] 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 f12d0cb0e2789e4785bc0667c0323ed03c2f2e07) --- eeschema/sch_view.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eeschema/sch_view.h b/eeschema/sch_view.h index 9cb7b986f8..d6bcdb9298 100644 --- a/eeschema/sch_view.h +++ b/eeschema/sch_view.h @@ -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,