Rework/New: Object & Mesh Select Pies #21

Merged
Demeter Dzadik merged 10 commits from selection_pies into main 2024-09-08 13:06:57 +02:00
Showing only changes of commit a2ec05e88a - Show all commits

View File

@ -18,13 +18,13 @@ class PIE_MT_object_selection(Menu):
layout = self.layout
pie = layout.menu_pie()
# 4 - LEFT
pie.operator("object.select_all", text="Deselect All", icon='OUTLINER_DATA_POINTCLOUD').action='DESELECT'
# 6 - RIGHT
pie.operator("object.select_all", text="Select All", icon='OUTLINER_OB_POINTCLOUD').action='SELECT'
# 2 - BOTTOM
pie.operator("object.select_children_of_active", text=f"Direct Children", icon='CON_CHILDOF')
# 8 - TOP
pie.operator("object.select_parent_object", text="Parent", icon='FILE_PARENT')
# 6 - RIGHT
pie.operator("object.select_children_of_active", text=f"Direct Children", icon='CON_CHILDOF')
# 2 - BOTTOM
pie.operator("object.select_all", text="Deselect All", icon='OUTLINER_DATA_POINTCLOUD').action='DESELECT'
# 8 - TOP
pie.operator("object.select_all", text="Select All", icon='OUTLINER_OB_POINTCLOUD').action='SELECT'
# 7 - TOP - LEFT
pie.operator("object.select_all", text="Invert Selection", icon='CLIPUV_DEHLT').action='INVERT'
# 9 - TOP - RIGHT
@ -539,13 +539,13 @@ class PIE_MT_mesh_selection(Menu):
layout = self.layout
pie = layout.menu_pie()
# 4 - LEFT
pie.operator("mesh.select_all", text="Deselect All", icon='OUTLINER_DATA_POINTCLOUD').action='DESELECT'
# 6 - RIGHT
pie.operator("mesh.select_all", text="Select All", icon='OUTLINER_OB_POINTCLOUD').action='SELECT'
# 2 - BOTTOM
pie.operator("mesh.select_less", text="Select Less", icon='REMOVE')
# 8 - TOP
# 6 - RIGHT
pie.operator("mesh.select_more", text="Select More", icon='ADD')
# 2 - BOTTOM
pie.operator("mesh.select_all", text="Deselect All", icon='OUTLINER_DATA_POINTCLOUD').action='DESELECT'
# 8 - TOP
pie.operator("mesh.select_all", text="Select All", icon='OUTLINER_OB_POINTCLOUD').action='SELECT'
# 7 - TOP - LEFT
pie.operator("mesh.select_all", text="Invert Selection", icon='CLIPUV_DEHLT').action='INVERT'
# 9 - TOP - RIGHT