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>2020-03-08 22:10:07 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2020-03-08 22:10:07 +0300
commit014f78b5b5a49c133ff95b3c9d973744de6eec2d (patch)
tree8b662506d520a0e1c4f39ec1df9066b2a14e386a /source/blender/blenkernel/intern/lib_id.c
parent0d05fd9b4c54eef6ef4168496aa0c0db057f79ff (diff)
Cleanup: Speaker: 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.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index 4843bd1bb2b..6db83434cc6 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -500,9 +500,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags
BLI_assert(0);
return true;
case ID_SPK:
- if (!test) {
- BKE_speaker_make_local(bmain, (Speaker *)id, flags);
- }
+ BLI_assert(0);
return true;
case ID_LP:
BLI_assert(0);
@@ -720,7 +718,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag)
BLI_assert(0);
break;
case ID_SPK:
- BKE_speaker_copy_data(bmain, (Speaker *)*r_newid, (Speaker *)id, flag);
+ BLI_assert(0);
break;
case ID_LP:
BLI_assert(0);
@@ -1341,7 +1339,7 @@ void BKE_libblock_init_empty(ID *id)
BLI_assert(0);
break;
case ID_SPK:
- BKE_speaker_init((Speaker *)id);
+ BLI_assert(0);
break;
case ID_LP:
BLI_assert(0);