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:
@@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user