diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-09-05 17:41:35 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-09-05 22:31:00 +0300 |
commit | 8622849beb964536d39ca2da8a2a0e4db978502f (patch) | |
tree | fd9c4a2dd974698006ea64834bc89ea07c060513 /source/blender/blenkernel/BKE_library_override.h | |
parent | 23d19c2b0dd3f47339ef07be39d47c41848be39b (diff) |
LibOverride: give more remapping control to `BKE_override_library_create_from_id()` too.
Similar change to the one done for tagged IDs overriding some days ago.
We do not always want to remap all local usages of a linked data-block
to its new local overriding copy.
Diffstat (limited to 'source/blender/blenkernel/BKE_library_override.h')
-rw-r--r-- | source/blender/blenkernel/BKE_library_override.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_library_override.h b/source/blender/blenkernel/BKE_library_override.h index 93b2355ce55..5cffabd333f 100644 --- a/source/blender/blenkernel/BKE_library_override.h +++ b/source/blender/blenkernel/BKE_library_override.h @@ -38,7 +38,9 @@ void BKE_override_library_copy(struct ID *dst_id, const struct ID *src_id); void BKE_override_library_clear(struct IDOverrideLibrary *override, const bool do_id_user); void BKE_override_library_free(struct IDOverrideLibrary **override, const bool do_id_user); -struct ID *BKE_override_library_create_from_id(struct Main *bmain, struct ID *reference_id); +struct ID *BKE_override_library_create_from_id(struct Main *bmain, + struct ID *reference_id, + const bool do_tagged_remap); bool BKE_override_library_create_from_tag(struct Main *bmain); struct IDOverrideLibraryProperty *BKE_override_library_property_find( |