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.
This commit is contained in:
2022-03-17 14:37:20 +11:00
parent ea0c86e961
commit 1d88aeb95f
11 changed files with 231 additions and 152 deletions

View File

@@ -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;
};
/**