diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-27 14:25:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-27 14:25:15 +0400 |
commit | 12b4a67e9598be51a4403de1777cad51dc94067a (patch) | |
tree | 09afc3a5940f79be99a64d4f2f3b81c40b8ae55b /source/blender/blenloader/intern/writefile.c | |
parent | 95bf31e4fee327f9d0ca7e017997642398e2b023 (diff) |
missing from last commit
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 2 |
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 { |