summaryrefslogtreecommitdiff
path: root/assetFactory/style.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-20 23:30:21 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-20 23:30:21 +0000
commit2508112e2853e1a6c012b19c7232aa09f98d3969 (patch)
tree4e650d6d0d912eacd6c4e38561b175232e717529 /assetFactory/style.h
parentAdd persistence support for std::optional<>s (diff)
downloadilt-2508112e2853e1a6c012b19c7232aa09f98d3969.tar.bz2
ilt-2508112e2853e1a6c012b19c7232aa09f98d3969.tar.xz
ilt-2508112e2853e1a6c012b19c7232aa09f98d3969.zip
Move smooth property into Style and make it optional
This allows it to cascade down as faces are created and also be overridden as required
Diffstat (limited to 'assetFactory/style.h')
-rw-r--r--assetFactory/style.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/assetFactory/style.h b/assetFactory/style.h
index f3bc707..d931f98 100644
--- a/assetFactory/style.h
+++ b/assetFactory/style.h
@@ -31,6 +31,7 @@ public:
static EffectiveColour getColour(const StyleStack & parents);
ColourAlpha colour {};
+ std::optional<bool> smooth;
std::string texture;
std::string textureRotation; // Multiples of 90deg, no int/enum support