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:
authorCampbell Barton <ideasman42@gmail.com>2020-03-08 05:48:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-08 05:48:21 +0300
commit52dc1ddaa0d1a1b30e327b3619bc2b920d8e4c19 (patch)
treed69c01c61986d6afce88e49596bed66f903da96f /source/blender/editors/space_outliner/outliner_collections.c
parent62f238a65e334ccecae85134da0b05ba58382ae9 (diff)
Revert "Outliner: Allow deleting entire selection"
This reverts commit 62f238a65e334ccecae85134da0b05ba58382ae9. This prevents undo steps from being stored.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_collections.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_collections.c4
1 files changed, 1 insertions, 3 deletions
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)