diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-24 12:39:03 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-24 12:45:13 +0300 |
commit | bc290b47cd1f26aa493f2a910289877c96c4d3c4 (patch) | |
tree | 1a7091ea2ec32a0637dcb4a91d5e1826288c6adf /source | |
parent | e006e6608437c16102774879824bc9644acb3521 (diff) |
Keymap: experimental preference always use "Mouse Select & Move"
This was already as a preference for the tweak tool,
this preference enables the option for all selection
in the 3D view & UV editor.
This extends on changes from T96544.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_select.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c index 28d86f457ee..6ae9b463cfb 100644 --- a/source/blender/editors/space_view3d/view3d_select.c +++ b/source/blender/editors/space_view3d/view3d_select.c @@ -2745,6 +2745,11 @@ 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. */ |