Windows installer and Path changes, fixing various issues:
[blender.git] / source / blender / python / intern / bpy.c
index afafc9b4534f680d393dbfb09774d2052f8026bf..450151ee87003efa3ba133d850a20aaaa3413c31 100644 (file)
@@ -239,7 +239,7 @@ void BPy_init_modules( void )
        PyObject *mod;
 
        /* Needs to be first since this dir is needed for future modules */
-       char *modpath= BLI_get_folder(BLENDER_SCRIPTS, "modules");
+       char *modpath= BLI_get_folder(BLENDER_SYSTEM_SCRIPTS, "modules");
        if(modpath) {
                // printf("bpy: found module path '%s'.\n", modpath);
                PyObject *sys_path= PySys_GetObject("path"); /* borrow */