Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-01-14 17:47:11 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-01-15 13:09:16 +0300
commit6af97b84dfa286fc5c8efb2b0536ed1b87f591b0 (patch)
treed335327ddcf6d5d2a4c1a4ecdb3de0034f6b4ab4 /source/blender/blenkernel/intern/blendfile.c
parent2f39ca38437d94a63ba020ef110b413ee3f7894b (diff)
Cleanup: replace usages of deprecated BKE_libblock_free by BKE_id_free.
Diffstat (limited to 'source/blender/blenkernel/intern/blendfile.c')
-rw-r--r--source/blender/blenkernel/intern/blendfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/blendfile.c b/source/blender/blenkernel/intern/blendfile.c
index cc42fe71579..d75274d4daa 100644
--- a/source/blender/blenkernel/intern/blendfile.c
+++ b/source/blender/blenkernel/intern/blendfile.c
@@ -443,9 +443,9 @@ bool BKE_blendfile_read_from_memfile(
if (bfd) {
/* remove the unused screens and wm */
while (bfd->main->wm.first)
- BKE_libblock_free(bfd->main, bfd->main->wm.first);
+ BKE_id_free(bfd->main, bfd->main->wm.first);
while (bfd->main->screen.first)
- BKE_libblock_free(bfd->main, bfd->main->screen.first);
+ BKE_id_free(bfd->main, bfd->main->screen.first);
setup_app_data(C, bfd, "<memory1>", params->is_startup, reports);
}