[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11265] branches/soc-2007-maike/source/ blender/python/api2_2x/EXPP_interface.c: Commented build base dir hack ( to be redone)
Miguel Torres Lima
torreslima at gmail.com
Fri Jul 13 17:11:24 CEST 2007
Revision: 11265
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11265
Author: maike
Date: 2007-07-13 17:11:24 +0200 (Fri, 13 Jul 2007)
Log Message:
-----------
Commented build base dir hack (to be redone)
Modified Paths:
--------------
branches/soc-2007-maike/source/blender/python/api2_2x/EXPP_interface.c
Modified: branches/soc-2007-maike/source/blender/python/api2_2x/EXPP_interface.c
===================================================================
--- branches/soc-2007-maike/source/blender/python/api2_2x/EXPP_interface.c 2007-07-13 15:10:06 UTC (rev 11264)
+++ branches/soc-2007-maike/source/blender/python/api2_2x/EXPP_interface.c 2007-07-13 15:11:24 UTC (rev 11265)
@@ -58,6 +58,8 @@
int i;
static char instdir[FILE_MAXDIR];
+ printf("\nprog: %s\n", bprogname);
+
for(i = len - 1; i >= 0; i--){
if(bprogname[i] == '/' || bprogname[i] == '\\')
count++;
@@ -172,11 +174,13 @@
if (BLI_exists(scriptsdir)) return scriptsdir;
else scriptsdir[0] = '\0';
}
-
- instdir = bpy_getinstallhome();
+
+ /*instdir = bpy_getinstallhome();
+
if(instdir){
if (append_scriptsdir == 1) {
BLI_make_file_string("/", scriptsdir, instdir, "install/linux2/.blender/scripts");
+ printf("\nscripts: %s\n", scriptsdir);
if (BLI_exists(scriptsdir)) return scriptsdir;
else scriptsdir[0] = '\0';
}
@@ -186,7 +190,7 @@
if (BLI_exists(scriptsdir)) return scriptsdir;
else scriptsdir[0] = '\0';
}
- }
+ }*/
return NULL;
}
More information about the Bf-blender-cvs
mailing list