Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-01-18 18:10:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-01-18 18:10:17 +0300
commit09c2fd6f11eb00809678e869aec32f305e03ef02 (patch)
treebd8b41d8c089f1eef4d5d87b98e3b07c6c9ce275 /source/blender/src/usiblender.c
parentafc53a1eba9041e69e7bbb95a7a9f43aeb804931 (diff)
Linux only addition to know for sure the path of blender because sometimes the Play button doesn't work depending on how blender is started.
This uses binreloc - http://autopackage.org/docs/binreloc/ it should also solve the problem of python scripts not being found.
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r--source/blender/src/usiblender.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c
index dd6d3eb6d15..ee0dffaafa3 100644
--- a/source/blender/src/usiblender.c
+++ b/source/blender/src/usiblender.c
@@ -688,6 +688,9 @@ static void readBlog(void)
fsmenu_append_separator();
}
+#else
+ /* add home dir on linux systems */
+ fsmenu_insert_entry(BLI_gethome(), 0, 0);
#endif
BLI_make_file_string(G.sce, name, BLI_gethome(), ".Bfs");