[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22869] branches/blender2.5/blender/source /blender/python/intern/bpy_interface.c: bugfix: on windows, it wouldn' t correctly recognize directories and import python modules on load.
Martin Poirier
theeth at yahoo.com
Sat Aug 29 22:29:30 CEST 2009
Revision: 22869
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22869
Author: theeth
Date: 2009-08-29 22:29:29 +0200 (Sat, 29 Aug 2009)
Log Message:
-----------
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)
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/python/intern/bpy_interface.c
Modified: branches/blender2.5/blender/source/blender/python/intern/bpy_interface.c
===================================================================
--- branches/blender2.5/blender/source/blender/python/intern/bpy_interface.c 2009-08-29 18:59:20 UTC (rev 22868)
+++ branches/blender2.5/blender/source/blender/python/intern/bpy_interface.c 2009-08-29 20:29:29 UTC (rev 22869)
@@ -618,7 +618,7 @@
}
}
#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);
More information about the Bf-blender-cvs
mailing list