diff options
author | Dalai Felinto <dalai@blender.org> | 2020-03-06 18:03:00 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-03-06 18:43:09 +0300 |
commit | 57daecc2cf88878e56394726759c48f81610806a (patch) | |
tree | 12db38dcc0955c6823e4e04ccd938a73f26bb84b /source/blender/blenkernel/intern/lib_id.c | |
parent | 14d03af7ae5ade1ff7ae615e3fe0df35633b3953 (diff) |
Cleanup: Armature: 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 984610198ee..a60589de503 100644 --- a/source/blender/blenkernel/intern/lib_id.c +++ b/source/blender/blenkernel/intern/lib_id.c @@ -537,9 +537,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags BLI_assert(0); return true; case ID_AR: - if (!test) { - BKE_armature_make_local(bmain, (bArmature *)id, flags); - } + BLI_assert(0); return true; case ID_AC: if (!test) { @@ -757,7 +755,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag) BLI_assert(0); break; case ID_AR: - BKE_armature_copy_data(bmain, (bArmature *)*r_newid, (bArmature *)id, flag); + BLI_assert(0); break; case ID_AC: BKE_action_copy_data(bmain, (bAction *)*r_newid, (bAction *)id, flag); |