diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-01-19 02:31:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-01-19 02:31:18 +0300 |
commit | 31f14862f7d058df9c31a2ff8edd81c679c96c31 (patch) | |
tree | c04881966eba258e95cee374c3a779fb758e9a77 /source/blender/src/filesel.c | |
parent | 4ffd8d2a2808171d3cb54c408b2afb980e8db676 (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.c | 2 |
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; |