use and save to cache

This commit is contained in:
jrkb 2023-05-28 22:03:15 +02:00
parent 95527561d0
commit 922566f597

View file

@ -29,7 +29,9 @@ void MsdfAtlasLayerCombo::setup(const ComboIdentifier & layerIdentifier,
void MsdfAtlasLayerCombo::update(){ void MsdfAtlasLayerCombo::update(){
if(isDirty){ if(isDirty){
atlas->generate(); bool useCache = true;
bool saveToCache = true;
atlas->generate(useCache, saveToCache);
isDirty = false; isDirty = false;
} }
} }