diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-17 06:37:20 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-17 06:37:20 +0300 |
commit | 1d88aeb95fc40771be7ef3a835af4206c845aa9b (patch) | |
tree | ac7108df46d7dcc7b6cebd206b0e3448f774f456 /source/blender/editors/include/ED_select_utils.h | |
parent | ea0c86e961de20d4215824d5cfd239a1f4c4cc90 (diff) |
View 3D: support for select passthrough when picking selected items
Currently this isn't used in the key-map, it will eventually
allow the 3D viewports tweak tool to match the behavior of other
editors that support tweaking a selection without first de-selecting
all other elements.
Diffstat (limited to 'source/blender/editors/include/ED_select_utils.h')
-rw-r--r-- | source/blender/editors/include/ED_select_utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_select_utils.h b/source/blender/editors/include/ED_select_utils.h index c24c9168fe8..b9ef5c283aa 100644 --- a/source/blender/editors/include/ED_select_utils.h +++ b/source/blender/editors/include/ED_select_utils.h @@ -82,6 +82,12 @@ struct SelectPick_Params { eSelectOp sel_op; /** Deselect all, even when there is nothing found at the cursor location. */ bool deselect_all; + /** + * When selecting an element that is already selected, do nothing (passthrough). + * don't even make it active. + * Use to implement tweaking to move the selection without first de-selecting. + */ + bool select_passthrough; }; /** |