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
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-07-15 19:10:55 +0300
committerBastien Montagne <bastien@blender.org>2020-07-15 19:17:34 +0300
commiteb54624a9a1dcfe93eec8bc98db0c0bbcccc1732 (patch)
tree35902f8e5b51afeadd9f1de63304e3789c5da5ba
parent5057b28a2fbc6eebcd65bf9fa2e443ae644ca4ce (diff)
LibOverride: make outliner's 'override hierarchy' use same logic as 3DView operator.
So now one can create a 'full', 'complete' override of a character from the outliner as well.
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index de6f169e574..b59cd5bc128 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -786,8 +786,8 @@ static void id_override_library_cb(bContext *C,
}
te->store_elem->id->tag |= LIB_TAG_DOIT;
}
- BKE_lib_override_library_dependencies_tag(bmain, id_root, LIB_TAG_DOIT, true);
- BKE_lib_override_library_create_from_tag(bmain);
+ BKE_lib_override_library_create(
+ bmain, CTX_data_scene(C), CTX_data_view_layer(C), id_root, NULL);
}
else if (ID_IS_OVERRIDABLE_LIBRARY(id_root)) {
BKE_lib_override_library_create_from_id(bmain, id_root, true);