From 45462ef3a714c0d98fe570d96e6761e2b298c7d0 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 13 Jul 2018 14:29:03 +0200 Subject: Fix Ui/Decal handling of active/inactive arch objects Signed-off-by: Clifford Wolf --- ice40/archdefs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ice40/archdefs.h') diff --git a/ice40/archdefs.h b/ice40/archdefs.h index 2bb718f1..75df678a 100644 --- a/ice40/archdefs.h +++ b/ice40/archdefs.h @@ -144,6 +144,7 @@ struct DecalId TYPE_GROUP } type = TYPE_NONE; int32_t index = -1; + bool active = false; bool operator==(const DecalId &other) const { return (type == other.type) && (index == other.index); } bool operator!=(const DecalId &other) const { return (type != other.type) || (index != other.index); } -- cgit v1.2.3