diff options
author | Bastien Montagne <bastien@blender.org> | 2022-02-01 18:11:59 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-02-02 11:47:10 +0300 |
commit | 286fcb3a605a51a2d8e542095ffa87ceb71fdd08 (patch) | |
tree | 59c3337fffa3106b0c06fe866ead1a8c5fbeab8f /source/blender/makesrna/intern/rna_ID.c | |
parent | e8b3bd15e8d91c3cb8fa3bf33b3328e1dd109b75 (diff) |
LibOverride: Add 'owner library' info to some liboverride code.
This will help when dealing with liboverrides from other library files,
e.g for resync or proxies conversion.
This commit only affects proxy conversion.
Part of T91671.
Diffstat (limited to 'source/blender/makesrna/intern/rna_ID.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index 1ae036a254e..1f3dd34a0a7 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -719,7 +719,8 @@ static ID *rna_ID_override_hierarchy_create( BKE_main_id_tag_all(bmain, LIB_TAG_DOIT, false); ID *id_root_override = NULL; - BKE_lib_override_library_create(bmain, scene, view_layer, id, id_reference, &id_root_override); + BKE_lib_override_library_create( + bmain, scene, view_layer, NULL, id, id_reference, &id_root_override); WM_main_add_notifier(NC_ID | NA_ADDED, NULL); WM_main_add_notifier(NC_WM | ND_LIB_OVERRIDE_CHANGED, NULL); |