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>2021-02-26 19:14:28 +0300
committerBastien Montagne <bastien@blender.org>2021-02-26 19:15:03 +0300
commitcd388ef2f11d85ac6fc5382cab18e33cd0bd5a59 (patch)
treea323315dbe81693ccd40ac402b3f8a121a100971
parentb2eb674731065b7f36c2219af94c8d0308dd87b9 (diff)
Fix (unreported) missing 3DView update after some Outliner Override operations.
-rw-r--r--source/blender/editors/space_outliner/outliner_tools.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c
index 8bc32f5f3a7..8726fd768d4 100644
--- a/source/blender/editors/space_outliner/outliner_tools.c
+++ b/source/blender/editors/space_outliner/outliner_tools.c
@@ -892,6 +892,8 @@ static void id_override_library_resync_fn(bContext *C,
}
BKE_lib_override_library_resync(bmain, scene, CTX_data_view_layer(C), id_root);
+
+ WM_event_add_notifier(C, NC_WINDOW, NULL);
}
else {
CLOG_WARN(&LOG, "Could not resync library override of data block '%s'", id_root->name);
@@ -926,6 +928,8 @@ static void id_override_library_delete_fn(bContext *C,
}
BKE_lib_override_library_delete(bmain, id_root);
+
+ WM_event_add_notifier(C, NC_WINDOW, NULL);
}
else {
CLOG_WARN(&LOG, "Could not delete library override of data block '%s'", id_root->name);