Fix #94060: Update Stats When Deleting Object Data in Outliner

Update statistics in the viewport and/or status bar when deleting
object data in Outliner. See bug report to recreate issue.

Pull Request: https://projects.blender.org/blender/blender/pulls/123157
This commit is contained in:
Harley Acheson
2024-06-13 19:57:32 +02:00
committed by Harley Acheson
parent 2b8da99e59
commit 8481696337

View File

@@ -2953,6 +2953,7 @@ static int outliner_id_operation_exec(bContext *C, wmOperator *op)
BKE_main_id_tag_all(bmain, LIB_TAG_DOIT, false);
outliner_do_libdata_operation(C, op->reports, scene, space_outliner, id_delete_tag_fn);
BKE_id_multi_tagged_delete(bmain);
WM_event_add_notifier(C, NC_OBJECT, nullptr);
ED_undo_push(C, "Delete");
}
break;