Fix T37471: Copy/Paste objects broke relative paths
This commit is contained in:
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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue