📋 Metadata
- Author: Colacuve
- Date: 2019-02-06 18:07:52
- Type:
question - Replies (1): post_01927
💬 Content
How do I create a pie menu item that toggles between these two tool settings? Currently, trying to discern when to use operator vs l.prop or what not is very difficult.
bpy.context.scene.tool_settings.transform_pivot_point = ‘CURSOR’
bpy.context.scene.tool_settings.transform_pivot_point = ‘BOUNDING_BOX_CENTER’