Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-05-05 17:39:53 +0300
committerBastien Montagne <bastien@blender.org>2021-05-05 17:41:41 +0300
commitcbb057e378e12dce1a10a0d91ea99c0872e796e8 (patch)
treeda9c22bd1b2a9281bbd34ec22300242ffdae20e0 /source
parentd9d71698374101bad61b712c742183c94e5d8e6c (diff)
LibOverride: Tag base's object pointer as not overridable.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/scene.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index e1f013eb589..a4ab64a8a02 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -742,7 +742,8 @@ static void scene_foreach_id(ID *id, LibraryForeachIDData *data)
BKE_LIB_FOREACHID_PROCESS(data, view_layer->mat_override, IDWALK_CB_USER);
LISTBASE_FOREACH (Base *, base, &view_layer->object_bases) {
- BKE_LIB_FOREACHID_PROCESS(data, base->object, IDWALK_CB_NOP);
+ BKE_LIB_FOREACHID_PROCESS(
+ data, base->object, IDWALK_CB_NOP | IDWALK_CB_OVERRIDE_LIBRARY_NOT_OVERRIDABLE);
}
scene_foreach_layer_collection(data, &view_layer->layer_collections);