diff options
author | Dalai Felinto <dalai@blender.org> | 2020-03-06 18:35:23 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-03-06 18:43:09 +0300 |
commit | 68b6d0302a591ccba843533043632d4d0bc1b40b (patch) | |
tree | 301cb6bdeca0d105acb4a5d6c07ce108dcad1a23 /source/blender/blenkernel/intern/lib_id.c | |
parent | 57daecc2cf88878e56394726759c48f81610806a (diff) |
Cleanup: Action: Move to IDTypeInfo, and remove unused BKE API.
Diffstat (limited to 'source/blender/blenkernel/intern/lib_id.c')
-rw-r--r-- | source/blender/blenkernel/intern/lib_id.c | 6 |
1 files changed, 2 insertions, 4 deletions
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); |