use and save to cache
This commit is contained in:
parent
95527561d0
commit
922566f597
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue