Merged changes in the trunk up to revision 29994.

This commit is contained in:
2010-07-05 18:37:29 +00:00
231 changed files with 4927 additions and 2026 deletions

View File

@@ -147,7 +147,7 @@ void BPy_init_modules( void )
PyObject *mod;
/* Needs to be first since this dir is needed for future modules */
char *modpath= BLI_gethome_folder("scripts/modules", BLI_GETHOME_ALL);
char *modpath= BLI_get_folder(BLENDER_SCRIPTS, "modules");
if(modpath) {
// printf("bpy: found module path '%s'.\n", modpath);
PyObject *sys_path= PySys_GetObject("path"); /* borrow */