Changeset View
Changeset View
Standalone View
Standalone View
pie_menus_official/pie_view_of.py
| Show All 32 Lines | |||||
| class VIEW3D_PIE_view_of(Menu): | class VIEW3D_PIE_view_of(Menu): | ||||
| bl_label = "View" | bl_label = "View" | ||||
| bl_idname = "pie.view_of" | bl_idname = "pie.view_of" | ||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| pie = layout.menu_pie() | pie = layout.menu_pie() | ||||
| pie.operator_enum("VIEW3D_OT_viewnumpad", "type") | pie.operator_enum("VIEW3D_OT_view_axis", "type") | ||||
| pie.operator("wm.call_menu_pie", text="More", icon='PLUS').name = "VIEW3D_PIE_view_more_of" | pie.operator("wm.call_menu_pie", text="More", icon='PLUS').name = "VIEW3D_PIE_view_more_of" | ||||
| classes = ( | classes = ( | ||||
| VIEW3D_PIE_view_more_of, | VIEW3D_PIE_view_more_of, | ||||
| VIEW3D_PIE_view_of, | VIEW3D_PIE_view_of, | ||||
| ) | ) | ||||
| Show All 31 Lines | |||||