From 68b6d0302a591ccba843533043632d4d0bc1b40b Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 6 Mar 2020 16:35:23 +0100 Subject: Cleanup: Action: Move to IDTypeInfo, and remove unused BKE API. --- source/blender/blenkernel/intern/lib_id.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source/blender/blenkernel/intern/lib_id.c') diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c index a60589de503..0f1dd16fdc5 100644 --- a/source/blender/blenkernel/intern/lib_id.c +++ b/source/blender/blenkernel/intern/lib_id.c @@ -540,9 +540,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags BLI_assert(0); return true; case ID_AC: - if (!test) { - BKE_action_make_local(bmain, (bAction *)id, flags); - } + BLI_assert(0); return true; case ID_NT: BLI_assert(0); @@ -758,7 +756,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag) BLI_assert(0); break; case ID_AC: - BKE_action_copy_data(bmain, (bAction *)*r_newid, (bAction *)id, flag); + BLI_assert(0); break; case ID_NT: BLI_assert(0); -- cgit v1.2.3