diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-09-14 13:58:01 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-09-14 13:58:01 +0300 |
commit | 66d4006f51b56feff7db9846d40e78b18c519e67 (patch) | |
tree | 1f2e83f165cad085f49d79ee38d88e5a5ff1f74d /source/blender/blenkernel/intern/blendfile.c | |
parent | 48c4a5a4ddb760532440bec91618ab7feda55c79 (diff) |
Attempt to fix broken path remapping in own rB443b3ca9b9cb.
Diffstat (limited to 'source/blender/blenkernel/intern/blendfile.c')
-rw-r--r-- | source/blender/blenkernel/intern/blendfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/blendfile.c b/source/blender/blenkernel/intern/blendfile.c index 94f762f6617..6da68470ecc 100644 --- a/source/blender/blenkernel/intern/blendfile.c +++ b/source/blender/blenkernel/intern/blendfile.c @@ -510,7 +510,7 @@ bool BKE_blendfile_write_partial( /* This is needed to be able to load that file as a real one later * (otherwise main->name will not be set at read time). */ - BLI_strncpy(bmain_dst->name, filepath, sizeof(bmain_dst->name)); + BLI_strncpy(bmain_dst->name, bmain_src->name, sizeof(bmain_dst->name)); if (write_flags & G_FILE_RELATIVE_REMAP) { path_list_backup = BKE_bpath_list_backup(bmain_src, path_list_flag); |