Scripts icon indicating copy to clipboard operation
Scripts copied to clipboard

Shift + Double Clicking on empty space creates a selection

Open MightyBOBcnc opened this issue 5 years ago • 0 comments

Title. If you have a selection, such as an edge, and it is the active edge, and then you Shift + Double Click on empty space in the viewport it creates a selection.

The reason for this appears to be that in Blender's default keybinds only a regular Click is set up to do "deselect on nothing." Shift + Click (as well as all other variants of [Modifier] + Click) does not have "deselect on nothing" enabled.

  • I can't think of a passive way to fix this without doing our own raycasting (and I don't want to deal with the performance impact of raycasting).
  • It might be possible to forcefully override the existing keymap entries for the view3d.select operator to enable "deselect on nothing" for all of the [Modifier] + Click actions in the viewport (but I don't want to force an invisible and possibly unwanted change on users; maybe it could be a toggle in the addon preferences?).
  • For now the only real solution seems to be to live with the "bug" and just tell users to change the keymap themselves if it is bothering them too much.

MightyBOBcnc avatar May 14 '20 03:05 MightyBOBcnc