Post #1810: When I create custom pie menu entry type ‘Command’, eg. long one line script (it
📋 Metadata
- Author: JoseConseco
- Date: 2019-01-04 12:45:37
- Type:
feature_request - Quality Score: 8/10
- Replies (1): post_01811
🏷️ Tags
pie-menu custom-commands intermediate unsolved
⚙️ Related PME Features
- Pie Menu Editor
- Python Scripting
💬 Content
When I create custom pie menu entry type ‘Command’, eg. long one line script (it removes every second loop):
bpy.ops.mesh.loop_multi_select(ring=True); bpy.ops.mesh.select_nth(); bpy.ops.mesh.loop_multi_select(ring=False); bpy.ops.mesh.delete_edgeloop()
The undo works, but redo doesn’t. Would you be able, @roaoao to make it so that this custom command has support for undo then redo, like we can do with python operators by using:
bl_options = {"REGISTER","UNDO"}
?