bugfix: on windows, it wouldn't correctly recognize directories and import python modules on load.

BLI_exist vs BLI_exists (fun times were had by all)
This commit is contained in:
2009-08-29 20:29:29 +00:00
parent a261330d5c
commit 5ab556e066

View File

@@ -618,7 +618,7 @@ void BPY_run_ui_scripts(bContext *C, int reload)
}
}
#ifndef __linux__
else if( BLI_join_dirfile(path, dirname, de->d_name), S_ISDIR(BLI_exists(path))) {
else if( BLI_join_dirfile(path, dirname, de->d_name), S_ISDIR(BLI_exist(path))) {
#else
else if(de->d_type==DT_DIR) {
BLI_join_dirfile(path, dirname, de->d_name);