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:
authorTon Roosendaal <ton@blender.org>2007-03-29 14:09:44 +0400
committerTon Roosendaal <ton@blender.org>2007-03-29 14:09:44 +0400
commit0b7d7e07c662bf93aedf4cf9294ad213abd77655 (patch)
tree98683f326e639f946fd0b347e49d4575db2c4197 /source/blender/src/filesel.c
parent1cc445e7ea2955d289240d396f19970d3ec6bb2a (diff)
Bugfix #6312
When saving files (images), the filewindow was giving relative paths on a save-over menu. Also: added in group.c a note about problems with timeoffset.
Diffstat (limited to 'source/blender/src/filesel.c')
-rw-r--r--source/blender/src/filesel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/filesel.c b/source/blender/src/filesel.c
index aea0b8d49cf..d2ac3115c0f 100644
--- a/source/blender/src/filesel.c
+++ b/source/blender/src/filesel.c
@@ -1681,8 +1681,8 @@ static void filesel_execute(SpaceFile *sfile)
strcat(name, sfile->file);
if(sfile->flag & FILE_STRINGCODE) {
- /* still weak, but we don't want saving .blends to make relative paths */
- if(sfile->returnfunc!=BIF_write_file)
+ /* still weak, but we don't want saving files to make relative paths */
+ if(strncmp(sfile->title, "Save", 4))
BLI_makestringcode(G.sce, name);
}
if(sfile->returnfunc)