From c956cae8244c094783edc7101fd0ca542c24e55b Mon Sep 17 00:00:00 2001 From: gatecat Date: Fri, 12 Feb 2021 10:35:51 +0000 Subject: Make BaseArch getDecalGraphics return an empty range Fix assertion failure when opening the GUI on an arch without any decals. Signed-off-by: gatecat --- docs/archapi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/archapi.md b/docs/archapi.md index 3535122e..df7cd0a1 100644 --- a/docs/archapi.md +++ b/docs/archapi.md @@ -573,7 +573,7 @@ Return the graphic elements that make up a decal. The same decal must always produce the same list. If the graphics for a design element changes, that element must return another decal. -*BaseArch default: asserts false as unreachable due to there being no decals* +*BaseArch default: returns default-constructed range* ### DecalXY getBelDecal(BelId bel) const -- cgit v1.2.3