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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user