render touch didnt work when the directory wasnt there.

This commit is contained in:
2008-01-26 17:05:38 +00:00
parent 78cedbd1f9
commit f1ed7337bb

View File

@@ -2359,6 +2359,7 @@ void RE_BlenderAnim(Render *re, Scene *scene, int sfra, int efra)
continue;
}
if (scene->r.mode & R_TOUCH && !BLI_exist(name)) {
BLI_make_existing_file(name); /* makes the dir if its not there */
BLI_touch(name);
}