diff options
author | Bastien Montagne <bastien@blender.org> | 2021-05-05 17:39:53 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-05-05 17:41:41 +0300 |
commit | cbb057e378e12dce1a10a0d91ea99c0872e796e8 (patch) | |
tree | da9c22bd1b2a9281bbd34ec22300242ffdae20e0 /source/blender/blenkernel/intern/scene.c | |
parent | d9d71698374101bad61b712c742183c94e5d8e6c (diff) |
LibOverride: Tag base's object pointer as not overridable.
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 3 |
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); |