From 922566f597c635da2677cbf568a086fb84a65c98 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Sun, 28 May 2023 22:03:15 +0200 Subject: [PATCH] use and save to cache --- src/MsdfAtlasLayerCombo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MsdfAtlasLayerCombo.cpp b/src/MsdfAtlasLayerCombo.cpp index 1d8cc09..d78751c 100644 --- a/src/MsdfAtlasLayerCombo.cpp +++ b/src/MsdfAtlasLayerCombo.cpp @@ -29,7 +29,9 @@ void MsdfAtlasLayerCombo::setup(const ComboIdentifier & layerIdentifier, void MsdfAtlasLayerCombo::update(){ if(isDirty){ - atlas->generate(); + bool useCache = true; + bool saveToCache = true; + atlas->generate(useCache, saveToCache); isDirty = false; } }