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/editimasel.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/editimasel.c')
-rw-r--r--source/blender/src/editimasel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editimasel.c b/source/blender/src/editimasel.c
index cf6a86917b7..ed630af2088 100644
--- a/source/blender/src/editimasel.c
+++ b/source/blender/src/editimasel.c
@@ -195,7 +195,7 @@ static void activate_imageselect_(int type, char *title, char *file, short *menu
simasel->files = BIF_filelist_new();
}
- if(G.relbase_valid && BLI_convertstringcode(name, G.sce, G.scene->r.cfra))
+ if(G.relbase_valid && U.flag & USER_RELPATHS && type != FILE_BLENDER)
simasel->flag |= FILE_STRINGCODE;
else
simasel->flag &= ~FILE_STRINGCODE;