recursive create atlas dir
This commit is contained in:
parent
9095d2d972
commit
382885948b
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue