recursive create atlas dir

This commit is contained in:
jrkb 2023-05-25 12:45:10 +02:00
parent 9095d2d972
commit 382885948b

View file

@ -245,7 +245,7 @@ bool Atlas::generate(bool useCache,
atlasImage.update(); atlasImage.update();
if(saveToCache){ if(saveToCache){
ofDirectory dir(getAtlasPathDir()); ofDirectory dir(getAtlasPathDir());
dir.create(); dir.create(true);
atlasImage.save(getAtlasPath()); atlasImage.save(getAtlasPath());
} }
} }