Code cleanup: remove BLI_exist, now there is only BLI_exists. One function just

called the other, they did the same thing.
This commit is contained in:
2011-10-21 22:33:41 +00:00
parent 932aa116df
commit 88473fd49a
14 changed files with 44 additions and 71 deletions

View File

@@ -60,7 +60,7 @@ extern "C"
export_settings.filepath = (char *)filepath;
/* annoying, collada crashes if file cant be created! [#27162] */
if(!BLI_exist(filepath)) {
if(!BLI_exists(filepath)) {
BLI_make_existing_file(filepath); /* makes the dir if its not there */
if(BLI_touch(filepath) == 0) {
return 0;