From cd388ef2f11d85ac6fc5382cab18e33cd0bd5a59 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 26 Feb 2021 17:14:28 +0100 Subject: [PATCH] Fix (unreported) missing 3DView update after some Outliner Override operations. --- source/blender/editors/space_outliner/outliner_tools.c | 4 ++++ 1 file changed, 4 insertions(+) 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);