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>2022-05-24 16:04:37 +0300
committerBastien Montagne <bastien@blender.org>2022-05-24 16:04:37 +0300
commit258f6cbf93678b7bfbd997a06ab0ec67571174b5 (patch)
treec44c55fdcfcad8246f9cd679c967da01437069bd /source/blender/editors/interface/interface_templates.c
parentbfec666dbcc5736b937397444c00d4a292399537 (diff)
parenta40a26906213c2730c8b2efd9a509e18c7821e87 (diff)
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/editors/interface/interface_templates.c')
-rw-r--r--source/blender/editors/interface/interface_templates.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index cafc87e9c7f..a02e8a3ac49 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -820,8 +820,11 @@ static void template_id_liboverride_hierarchy_create(bContext *C,
id_override->override_library->flag &= ~IDOVERRIDE_LIBRARY_FLAG_SYSTEM_DEFINED;
*r_undo_push_label = "Make Library Override Hierarchy";
- WM_event_add_notifier(C, NC_WINDOW, NULL);
- DEG_relations_tag_update(bmain);
+ /* Given `idptr` is re-assigned to owner property by caller to ensure proper updates etc. Here
+ * we also use it to ensure remapping of the owner property from the linked data to the newly
+ * created liboverride (note that in theory this remapping has already been done by code
+ * above). */
+ RNA_id_pointer_create(id_override, idptr);
}
}