Prevent assert when sorting non-existant layer.

This commit is contained in:
Jeff Young 2021-10-23 11:53:03 +01:00
parent 30027030b5
commit 90eff6c6a2
1 changed files with 1 additions and 0 deletions

View File

@ -362,6 +362,7 @@ std::set<int> g_excludedLayers =
LAYER_MOD_REFERENCES,
LAYER_TRACKS,
LAYER_MOD_TEXT,
LAYER_MOD_TEXT + 1, // where LAYER_MOD_TEXT_BK used to be
LAYER_PAD_PLATEDHOLES,
LAYER_PAD_HOLEWALLS,
LAYER_GP_OVERLAY,