2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2018 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2020-02-10 15:55:43 +01:00
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
|
* \ingroup bke
|
|
|
|
|
*/
|
|
|
|
|
|
2020-02-10 16:54:24 +01:00
|
|
|
#pragma once
|
2020-02-10 15:55:43 +01:00
|
|
|
|
2023-11-30 19:51:22 +01:00
|
|
|
#include "BKE_lib_remap.hh"
|
2023-05-11 12:23:50 +02:00
|
|
|
|
2020-02-10 15:55:43 +01:00
|
|
|
extern BKE_library_free_notifier_reference_cb free_notifier_reference_cb;
|
|
|
|
|
|
|
|
|
|
extern BKE_library_remap_editor_id_reference_cb remap_editor_id_reference_cb;
|
2023-05-11 12:23:50 +02:00
|
|
|
|
|
|
|
|
struct ID;
|
|
|
|
|
struct Main;
|
|
|
|
|
|
2023-11-30 19:51:22 +01:00
|
|
|
void lib_id_copy_ensure_local(Main *bmain, const ID *old_id, ID *new_id, const int flags);
|