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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-11-27 14:25:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-27 14:25:15 +0400
commit12b4a67e9598be51a4403de1777cad51dc94067a (patch)
tree09afc3a5940f79be99a64d4f2f3b81c40b8ae55b /source
parent95bf31e4fee327f9d0ca7e017997642398e2b023 (diff)
missing from last commit
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenloader/intern/writefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index d985243a335..398847348cc 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -3479,7 +3479,7 @@ int BLO_write_file(Main *mainvar, const char *filepath, int write_flags, ReportL
BLI_cleanup_dir(mainvar->name, dir1);
BLI_cleanup_dir(mainvar->name, dir2);
- if (BLI_path_cmp(dir1, dir2)==0) {
+ if (G.relbase_valid && (BLI_path_cmp(dir1, dir2) == 0)) {
write_flags &= ~G_FILE_RELATIVE_REMAP;
}
else {