Cleanup: Remove useless Camera `make_local` callback.

Not sure why this one was still there, probably just escaped a previous
cleanup somehow.
This commit is contained in:
Bastien Montagne 2021-08-24 17:08:23 +02:00
parent 9327c00f70
commit b55c02a206
1 changed files with 1 additions and 6 deletions

View File

@ -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,