Post #2108: Selecting and the “drag treshold” setting is driving me crazy.

📋 Metadata

  • Author: actimelvanille
  • Date: 2019-03-25 12:49:19
  • Type: question
  • Quality Score: 7/10

🏷️ Tags

sticky-key hotkeys intermediate unsolved

  • Sticky Key Editor
  • Python Scripting

💬 Content

Selecting and the “drag treshold” setting is driving me crazy.
It is not possible to quickly select vertices/edges/faces because you automatically drag the mouse if you want to select fast. So you have to increase the drag treshold.
But if you turn up the treshold you have to move the mouse way to far before “dragging” happens.

So I created a Sticky key and put this on press:

C.preferences.inputs.drag_threshold = 99 ; bpy.ops.view3d.select(toggle=True)

and this on release:

C.preferences.inputs.drag_threshold = 3

This way I was hoping to increase the threshold while selecting and afterwards directly set it back to 3.
But guess what … my extremely skilled scripting skills couldn’t make it work. :wink:

Does anyone have a clue why this is not working?


🔗 View on Blender Artists