📋 Metadata

💬 Content

Hi, @dpdp
Try to add two more slots:
On Invoke:

import bmesh; bm = bmesh.from_edit_mesh(C.object.data)

On Update:

bpy.ops.ed.undo() if len(bm.select_history) == 0 else None

These 2 slots should undo Select Prev Element command if there is no selection. Didn’t test the code though. Let me know if it doesn’t work.


❤️ 2 likes


🔗 View on Blender Artists