== installation paths ==
Hopefully last fix for path issues for this release * The config folder should also be searched for in the 'local' path for local installations (This code was already there, but removed in revision 30440)
This commit is contained in:
parent
4c52624524
commit
51bd50f746
@ -953,6 +953,7 @@ char *BLI_get_folder(int folder_id, char *subfolder)
|
||||
return NULL;
|
||||
|
||||
case BLENDER_USER_DATAFILES:
|
||||
if (get_path_local(path, "datafiles", subfolder)) break;
|
||||
if (get_path_user(path, "datafiles", subfolder, "BLENDER_USER_DATAFILES")) break;
|
||||
return NULL;
|
||||
|
||||
@ -973,6 +974,7 @@ char *BLI_get_folder(int folder_id, char *subfolder)
|
||||
return NULL;
|
||||
|
||||
case BLENDER_USER_CONFIG:
|
||||
if (get_path_local(path, "config", subfolder)) break;
|
||||
if (get_path_user(path, "config", subfolder, "BLENDER_USER_CONFIG")) break;
|
||||
return NULL;
|
||||
|
||||
@ -988,6 +990,7 @@ char *BLI_get_folder(int folder_id, char *subfolder)
|
||||
return NULL;
|
||||
|
||||
case BLENDER_USER_SCRIPTS:
|
||||
if (get_path_local(path, "scripts", subfolder)) break;
|
||||
if (get_path_user(path, "scripts", subfolder, "BLENDER_USER_SCRIPTS")) break;
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user