diff options
Diffstat (limited to 'source/blender/blenkernel/intern/lib_id.c')
-rw-r--r-- | source/blender/blenkernel/intern/lib_id.c | 8 |
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 6db83434cc6..22496f47345 100644 --- a/source/blender/blenkernel/intern/lib_id.c +++ b/source/blender/blenkernel/intern/lib_id.c @@ -515,9 +515,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags BLI_assert(0); return true; case ID_SO: - if (!test) { - BKE_sound_make_local(bmain, (bSound *)id, flags); - } + BLI_assert(0); return true; case ID_GR: BLI_assert(0); @@ -777,7 +775,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag) BKE_cachefile_copy_data(bmain, (CacheFile *)*r_newid, (CacheFile *)id, flag); break; case ID_SO: - BKE_sound_copy_data(bmain, (bSound *)*r_newid, (bSound *)id, flag); + BLI_assert(0); break; case ID_VF: BLI_assert(0); @@ -1360,7 +1358,7 @@ void BKE_libblock_init_empty(ID *id) BLI_assert(0); break; case ID_SO: - /* Another fuzzy case, think NULLified content is OK here... */ + BLI_assert(0); break; case ID_GR: /* Nothing to do. */ |