== installation paths ==

* rename BLI_gethome to BLI_getDefaultDocumentFolder to better reflect how this function is used
* replaced BLI_gethome with getenv("HOME") on Linux and Mac where it retrieves location of bookmarks that are inserted as system bookmarks. BLI_gethome was a thin wrapper around these and in this case the user's home directory is what is actually wanted.
This commit is contained in:
2010-07-16 16:02:07 +00:00
parent 3ef41270f9
commit ca3f3317b2
5 changed files with 8 additions and 8 deletions

View File

@@ -40,14 +40,14 @@ extern "C" {
struct ListBase;
struct direntry;
char *BLI_gethome(void);
char *BLI_getDefaultDocumentFolder(void);
char *BLI_get_folder(int folder_id, char *subfolder);
char *BLI_get_folder_create(int folder_id, char *subfolder);
/* folder_id */
/* general, will find baserd on user/local/system priority */
/* general, will find based on user/local/system priority */
#define BLENDER_CONFIG 1
#define BLENDER_DATAFILES 2
#define BLENDER_SCRIPTS 3