From 382885948b6a7ddfc66b17d4a70ad60b2c114844 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Thu, 25 May 2023 12:45:10 +0200 Subject: [PATCH] recursive create atlas dir --- src/Atlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } }