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 <campbell@blender.org>2022-03-30 04:27:35 +0300
committerCampbell Barton <campbell@blender.org>2022-03-30 04:34:14 +0300
commit2499768e071965dc6e743cf540966a33e07e5d63 (patch)
tree52d3c292382fe173eecb5b8cea6dda8b23683f66 /source/blender/editors
parent400ea40dca7a9be5fd2c1974c1c542d896621d67 (diff)
Keymap: "Mouse Select & Move" now uses click to de-select others
While it's useful for click-drag to leave the selection as-is (when clicking on items that are already selected), it's useful for a single click to de-select all other elements. This also removes the need for the initial selection to set the object as active since this is possible by clicking on it.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_view3d/view3d_select.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c
index 30282df8026..54a335f98ed 100644
--- a/source/blender/editors/space_view3d/view3d_select.c
+++ b/source/blender/editors/space_view3d/view3d_select.c
@@ -2747,11 +2747,6 @@ static bool ed_object_select_pick(bContext *C,
if (params->sel_op == SEL_OP_SET) {
if ((found && params->select_passthrough) && (basact->flag & BASE_SELECTED)) {
found = false;
- /* NOTE(@campbellbarton): Experimental behavior to set active even keeping the selection
- * without this it's inconvenient to set the active object. */
- if (basact != oldbasact) {
- use_activate_selected_base = true;
- }
}
else if (found || params->deselect_all) {
/* Deselect everything. */