Commit: e02c63df1b8d2a44050b3b34558e465819865148
Author: Bastien Montagne
Date: Wed Sep 14 12:58:01 2016 +0200
Branches: blender-v2.78-release
https://developer.blender.org/rBe02c63df1b8d2a44050b3b34558e465819865148
Attempt to fix broken path remapping in own rB443b3ca9b9cb.
===================================================================
M source/blender/blenkernel/intern/blendfile.c
===================================================================
diff --git a/source/blender/blenkernel/intern/blendfile.c
b/source/blender/blenkernel/intern/blendfile.c
index 94f762f..6da6847 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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs