Post #1858: Hi And thank you for the most awesome addon!

📋 Metadata

  • Author: Alphyn
  • Date: 2019-01-18 15:56:41
  • Type: discussion
  • Quality Score: 7/10
  • Replies (1): post_01859

🏷️ Tags

v1-20-x pie-menu hotkeys intermediate unsolved

  • Pie Menu Editor
  • Hotkey Configuration

💬 Content

Hi And thank you for the most awesome addon!

I’m on 2.8 trying to add Select Linked (L) command to a pie menu. It selects the geometry under the current position of the mouse cursor. There are several problems with this command. Firstly, is that when you press L it memorizes the index of the entity (a vertex, edge or polygon) under the mouse cursor and takes it with itself when you assign it to a pie menu.

bpy.ops.mesh.select_linked_pick(deselect=False, delimit={‘SEAM’}, index=25)

So, the only way to make it work for me was through a hotkey. The second problem is that the command grabs the index of the object under your mouse pointer at the time of its execution, which makes sense in most cases, naturally. When using pie menus, however, you need to sample the index of the object even before you select the command, you need to sample it at the time you press the pie menu key, because you move your mouse when you select a pie menu item and your mouse cursor ends up over a part of geometry you originally didn’t intend to select.

It’s not a big deal, really. Fixing this is clearly more work than it’s worth, if at all possible. Besides, one could use Ctrl+L command in a pie menu or just press the L key. I just thought you’d find this interesting.


🔗 View on Blender Artists