LibOverride: Add override_hierarchy_createto ID's RNA API.

This commit is contained in:
2021-06-03 15:00:10 +02:00
parent 92f8a6ac21
commit e011e4ce76
5 changed files with 60 additions and 7 deletions

View File

@@ -2454,7 +2454,7 @@ static int make_override_library_exec(bContext *C, wmOperator *op)
BKE_main_id_tag_all(bmain, LIB_TAG_DOIT, false);
const bool success = BKE_lib_override_library_create(
bmain, scene, view_layer, id_root, &obact->id);
bmain, scene, view_layer, id_root, &obact->id, NULL);
/* Remove the instance empty from this scene, the items now have an overridden collection
* instead. */