Fix T37471: Copy/Paste objects broke relative paths

This commit is contained in:
Campbell Barton 2013-11-26 13:37:08 +11:00
parent a7778ab55d
commit d4284056c7
Notes: blender-bot 2023-02-14 11:35:49 +01:00
Referenced by issue #37669, Copying object to buffer messes up its textures' image paths
Referenced by issue #37471, Cache Relative wrong path issue on Copy-Paste objects
1 changed files with 1 additions and 1 deletions

View File

@ -918,7 +918,7 @@ int BKE_copybuffer_save(const char *filename, ReportList *reports)
/* save the buffer */
retval = BLO_write_file(mainb, filename, 0, reports, NULL);
retval = BLO_write_file(mainb, filename, G_FILE_RELATIVE_REMAP, reports, NULL);
/* move back the main, now sorted again */
set_listbasepointers(G.main, lbarray);