diff --git a/src/Atlas.cpp b/src/Atlas.cpp index c55568f..50caec9 100644 --- a/src/Atlas.cpp +++ b/src/Atlas.cpp @@ -245,7 +245,7 @@ bool Atlas::generate(bool useCache, atlasImage.update(); if(saveToCache){ ofDirectory dir(getAtlasPathDir()); - dir.create(); + dir.create(true); atlasImage.save(getAtlasPath()); } }