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 23:24:25 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-01-15 13:09:16 +0300
commit01029c68d293593ccf5019793a5b577b3b522338 (patch)
treedc20ca94733d0ea4cfc4df7da87656e54ab641c0 /source/blender/makesrna/intern/rna_main_api.c
parentf55a178db06d6c3bf06ae8c33525d6d1c48c9572 (diff)
Cleanup: rename BKE_libblock_delete to BKE_id_delete.
Diffstat (limited to 'source/blender/makesrna/intern/rna_main_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_main_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c
index 3d8768bc7e1..af2f007307b 100644
--- a/source/blender/makesrna/intern/rna_main_api.c
+++ b/source/blender/makesrna/intern/rna_main_api.c
@@ -133,7 +133,7 @@ static void rna_Main_ID_remove(
{
ID *id = id_ptr->data;
if (do_unlink) {
- BKE_libblock_delete(bmain, id);
+ BKE_id_delete(bmain, id);
RNA_POINTER_INVALIDATE(id_ptr);
}
else if (ID_REAL_USERS(id) <= 0) {