diff options
author | Bastien Montagne <bastien@blender.org> | 2021-08-24 18:08:23 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-08-24 18:08:23 +0300 |
commit | b55c02a20694d6c7795c5504f458b1a9cb3a4c06 (patch) | |
tree | 7f57eb0b97d59d6d44012bc123c38d5092bee45e /source/blender/blenkernel/intern | |
parent | 9327c00f70eb7488929c65e2cf2edaecf2d43596 (diff) |
Cleanup: Remove useless Camera `make_local` callback.
Not sure why this one was still there, probably just escaped a previous
cleanup somehow.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/camera.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/camera.c b/source/blender/blenkernel/intern/camera.c index 46b079fb42e..b77855f8f95 100644 --- a/source/blender/blenkernel/intern/camera.c +++ b/source/blender/blenkernel/intern/camera.c @@ -92,11 +92,6 @@ static void camera_copy_data(Main *UNUSED(bmain), BLI_duplicatelist(&cam_dst->bg_images, &cam_src->bg_images); } -static void camera_make_local(Main *bmain, ID *id, const int flags) -{ - BKE_lib_id_make_local_generic(bmain, id, flags); -} - /** Free (or release) any data used by this camera (does not free the camera itself). */ static void camera_free_data(ID *id) { @@ -192,7 +187,7 @@ IDTypeInfo IDType_ID_CA = { .init_data = camera_init_data, .copy_data = camera_copy_data, .free_data = camera_free_data, - .make_local = camera_make_local, + .make_local = NULL, .foreach_id = camera_foreach_id, .foreach_cache = NULL, .owner_get = NULL, |