Cleanup: Speaker: Move to IDTypeInfo and remove unused BKE API.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user