[Bf-blender-cvs] [cd388ef2f11] master: Fix (unreported) missing 3DView update after some Outliner Override operations.
Bastien Montagne
noreply at git.blender.org
Fri Feb 26 17:15:08 CET 2021
Commit: cd388ef2f11d85ac6fc5382cab18e33cd0bd5a59
Author: Bastien Montagne
Date: Fri Feb 26 17:14:28 2021 +0100
Branches: master
https://developer.blender.org/rBcd388ef2f11d85ac6fc5382cab18e33cd0bd5a59
Fix (unreported) missing 3DView update after some Outliner Override operations.
===================================================================
M source/blender/editors/space_outliner/outliner_tools.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list