From 52dc1ddaa0d1a1b30e327b3619bc2b920d8e4c19 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 8 Mar 2020 13:48:17 +1100 Subject: Revert "Outliner: Allow deleting entire selection" This reverts commit 62f238a65e334ccecae85134da0b05ba58382ae9. This prevents undo steps from being stored. --- source/blender/editors/space_outliner/outliner_collections.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source') diff --git a/source/blender/editors/space_outliner/outliner_collections.c b/source/blender/editors/space_outliner/outliner_collections.c index 1aee8c20cbc..f129bc9e2ea 100644 --- a/source/blender/editors/space_outliner/outliner_collections.c +++ b/source/blender/editors/space_outliner/outliner_collections.c @@ -346,9 +346,7 @@ static int collection_delete_exec(bContext *C, wmOperator *op) WM_msg_publish_rna_prop(mbus, &scene->id, view_layer, LayerObjects, active); } - /* Temporary fix to allow deleting both collections and objects at the same time - * using the same key mapping. */ - return OPERATOR_PASS_THROUGH; + return OPERATOR_FINISHED; } void OUTLINER_OT_collection_delete(wmOperatorType *ot) -- cgit v1.2.3