Page MenuHome

Use PRESS event for Tweak tool toggle selection
ClosedPublic

Authored by William Reynish (billreynish) on Jan 17 2020, 10:01 AM.

Details

Summary

In Blender, when using the Tweak tool, we can select using a PRESS event. This makes it so selection is immediate on mousedown. However, this only worked for selection, not toggle selection (shift-click).

This patch makes it so shift-clicking while using the Tweak tool also happens with a PRESS event, making selection immediate also while holding Shift to toggle selections.

Both 3D View and UV Editor are supported here.

Diff Detail

Repository
rB Blender

Event Timeline

Campbell Barton (campbellbarton) requested changes to this revision.Jan 17 2020, 10:29 AM

Would prefer if _template_items_tool_select include this, or there could be an argument added if it needs to be optional.

This revision now requires changes to proceed.Jan 17 2020, 10:29 AM
  • Use the _template_items_tool_select template for this.
This revision is now accepted and ready to land.Jan 17 2020, 1:16 PM

Fixed typo - forgot to remove a *