diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-14 17:47:11 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-01-15 13:09:16 +0300 |
commit | 6af97b84dfa286fc5c8efb2b0536ed1b87f591b0 (patch) | |
tree | d335327ddcf6d5d2a4c1a4ecdb3de0034f6b4ab4 /source/blender/blenkernel/intern/library.c | |
parent | 2f39ca38437d94a63ba020ef110b413ee3f7894b (diff) |
Cleanup: replace usages of deprecated BKE_libblock_free by BKE_id_free.
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 7634f1e0434..dcc4ac84d05 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -2035,7 +2035,7 @@ void BKE_library_make_local( if (!is_lib) { /* Not used at all, we can free it! */ BLI_assert(!"Unused linked data copy remaining from MakeLibLocal process, should not happen anymore"); printf("\t%s (from %s)\n", id->name, id->lib->id.name); - BKE_libblock_free(bmain, id); + BKE_id_free(bmain, id); it->link = NULL; do_loop = true; } @@ -2093,7 +2093,7 @@ void BKE_library_make_local( BKE_libblock_free_ex(bmain, id, false, true); #else BKE_libblock_unlink(bmain, id, false, false); - BKE_libblock_free(bmain, id); + BKE_id_free(bmain, id); #endif ((LinkNode *)it->link)->link = NULL; /* Not strictly necessary, but safer (see T49903)... */ it->link = NULL; |