bugfix: on windows, it wouldn't correctly recognize directories and import python...
authorMartin Poirier <theeth@yahoo.com>
Sat, 29 Aug 2009 20:29:29 +0000 (20:29 +0000)
committerMartin Poirier <theeth@yahoo.com>
Sat, 29 Aug 2009 20:29:29 +0000 (20:29 +0000)
BLI_exist vs BLI_exists (fun times were had by all)

source/blender/python/intern/bpy_interface.c

index 43db337c6db35b99d57408867692d9c944244c73..ac8acc2c07cfe7df523f94f856f79cb5b7fa38c3 100644 (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);