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:
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files_link.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files_link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c
index 07ed7a8f59e..d1a189ca44e 100644
--- a/source/blender/windowmanager/intern/wm_files_link.c
+++ b/source/blender/windowmanager/intern/wm_files_link.c
@@ -747,7 +747,7 @@ static void lib_relocate_do(
ID *old_id = item->customdata;
if (old_id->us == 0) {
- BKE_libblock_free(bmain, old_id);
+ BKE_id_free(bmain, old_id);
}
}
@@ -760,7 +760,7 @@ static void lib_relocate_do(
id_next = id->next;
/* XXX That check may be a bit to generic/permissive? */
if (id->lib && (id->flag & LIB_TAG_PRE_EXISTING) && id->us == 0) {
- BKE_libblock_free(bmain, id);
+ BKE_id_free(bmain, id);
}
}
}
@@ -782,7 +782,7 @@ static void lib_relocate_do(
if (lib->id.tag & LIB_TAG_DOIT) {
id_us_clear_real(&lib->id);
if (lib->id.us == 0) {
- BKE_libblock_free(bmain, (ID *)lib);
+ BKE_id_free(bmain, (ID *)lib);
}
}
}