[Bf-blender-cvs] [12b4a67] master: missing from last commit
Campbell Barton
noreply at git.blender.org
Wed Nov 27 11:25:52 CET 2013
Commit: 12b4a67e9598be51a4403de1777cad51dc94067a
Author: Campbell Barton
Date: Wed Nov 27 21:25:15 2013 +1100
http://developer.blender.org/rB12b4a67e9598be51a4403de1777cad51dc94067a
missing from last commit
===================================================================
M source/blender/blenloader/intern/writefile.c
===================================================================
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index d985243..3988473 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 {
More information about the Bf-blender-cvs
mailing list