diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-03 18:19:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-04 01:33:14 +0300 |
commit | 6f3a9031f7b93e7c687edde646beed9f02d920d4 (patch) | |
tree | 3ba8709e633b85668e756341167cbb82f9897397 /source/creator | |
parent | d8c3ad6f986a8996f99d81a2cad735a8bfc9b3e1 (diff) |
Cleanup: BKE_appdir left paths set even when not found
Internally appdir functions would test if a path exists,
returning false if it doesn't, leaving the string set instead
of clearing it.
This is error prone as invalid paths could be used accidentally.
Since BKE_appdir_folder_id_user_notest & BKE_appdir_folder_id_version
depend on this, add a 'check_is_dir' argument so the path can be used
even when the directory can't be found.
Diffstat (limited to 'source/creator')
0 files changed, 0 insertions, 0 deletions