Merged changes in the trunk up to revision 29994.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user