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-19 02:31:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-01-19 02:31:18 +0300
commit31f14862f7d058df9c31a2ff8edd81c679c96c31 (patch)
treec04881966eba258e95cee374c3a779fb758e9a77 /source/blender/src/filesel.c
parent4ffd8d2a2808171d3cb54c408b2afb980e8db676 (diff)
don't display relative paths button when loading files.
this was silly anyway since it always gave an error.
Diffstat (limited to 'source/blender/src/filesel.c')
-rw-r--r--source/blender/src/filesel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/filesel.c b/source/blender/src/filesel.c
index 33f0fe5788e..8a9b5b4d2b8 100644
--- a/source/blender/src/filesel.c
+++ b/source/blender/src/filesel.c
@@ -1192,7 +1192,7 @@ static void activate_fileselect_(int type, char *title, char *file, short *menup
/* sfile->act is used for databrowse: double names of library objects */
sfile->act= -1;
- if(G.relbase_valid && U.flag & USER_RELPATHS)
+ if(G.relbase_valid && U.flag & USER_RELPATHS && type != FILE_BLENDER)
sfile->flag |= FILE_STRINGCODE;
else
sfile->flag &= ~FILE_STRINGCODE;