Post #3513: Pie Menu Editor 1.17.3 Released Scripts and Themes:
π Metadata
- Author: roaoao
- Date: 2020-08-14 12:50:36
- Type:
answer - Quality Score: 7/10
- Reply to: post_03507
- Replies (1): post_03521
π·οΈ Tags
v1-17-3 macro scripting intermediate solved
βοΈ Related PME Features
- Macro Editor
- Python Scripting
- Operator invocation
π¬ Content
Pie Menu Editor 1.17.3 Released Scripts and Themes:
but it hides settings for the command and donβt expose it in edit mode in adjust last operation
Add 'INVOKE_DEFAULT', True for operators:
bpy.ops.object.shade_flat('INVOKE_DEFAULT', True) if bpy.context.object.data.polygons[0].use_smooth else bpy.ops.object.shade_smooth('INVOKE_DEFAULT', True)
β€οΈ 2 likes