From f12d0cb0e2789e4785bc0667c0323ed03c2f2e07 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 --- 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 e9a22f27d0..5642dc0dc6 100644 --- a/eeschema/sch_view.h +++ b/eeschema/sch_view.h @@ -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