diff options
author | Bastien Montagne <bastien@blender.org> | 2021-08-11 15:49:17 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-08-11 15:49:56 +0300 |
commit | 6a9d7139f7d05e0c51827a3a4b862c0547dc0513 (patch) | |
tree | 9b503d4d126335ea44f8b3d4c6587fc542b3b879 /source/blender/blenkernel/intern/lib_id.c | |
parent | bbcb60fb22b375094836e4ab90569db1f73c42e3 (diff) |
Cleanup: ID management: remove unused old `BKE_libblock_copy_for_localize` function.
Diffstat (limited to 'source/blender/blenkernel/intern/lib_id.c')
-rw-r--r-- | source/blender/blenkernel/intern/lib_id.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c index 5e1027c62af..0f880d16358 100644 --- a/source/blender/blenkernel/intern/lib_id.c +++ b/source/blender/blenkernel/intern/lib_id.c @@ -1321,14 +1321,6 @@ void *BKE_libblock_copy(Main *bmain, const ID *id) return idn; } -/* XXX TODO: get rid of this useless wrapper at some point... */ -void *BKE_libblock_copy_for_localize(const ID *id) -{ - ID *idn; - BKE_libblock_copy_ex(NULL, id, &idn, LIB_ID_COPY_LOCALIZE | LIB_ID_COPY_NO_ANIMDATA); - return idn; -} - /* ***************** ID ************************ */ ID *BKE_libblock_find_name(struct Main *bmain, const short type, const char *name) { |