Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'space_view3d_pie_menus/pie_select_menu.py')
-rw-r--r--space_view3d_pie_menus/pie_select_menu.py39
1 files changed, 17 insertions, 22 deletions
diff --git a/space_view3d_pie_menus/pie_select_menu.py b/space_view3d_pie_menus/pie_select_menu.py
index 48819c13..2ec6a039 100644
--- a/space_view3d_pie_menus/pie_select_menu.py
+++ b/space_view3d_pie_menus/pie_select_menu.py
@@ -47,9 +47,8 @@ class PIE_MT_SelectionsMore(Menu):
layout = self.layout
pie = layout.menu_pie()
box = pie.split().column()
- box.operator("object.select_by_type", text="Select By Type", icon='SNAP_VOLUME')
- box.operator("object.select_grouped", text="Select Grouped", icon='NONE')
- box.operator("object.select_linked", text="Select Linked", icon='CONSTRAINT_BONE')
+ box.operator("object.select_random", text="Select Random")
+ box.operator("object.select_linked", text="Select Linked")
box.menu("VIEW3D_MT_select_object_more_less", text="More/Less")
@@ -62,9 +61,9 @@ class PIE_MT_SelectionsOM(Menu):
layout = self.layout
pie = layout.menu_pie()
# 4 - LEFT
- pie.row().label(text="")
+ pie.operator("object.select_grouped", text="Select Grouped")
# 6 - RIGHT
- pie.operator("object.select_random", text="Select Random", icon='GROUP_VERTEX')
+ pie.operator("object.select_by_type", text="Select By Type")
# 2 - BOTTOM
pie.operator("object.select_all", text="Invert Selection",
icon='ZOOM_PREVIOUS').action = 'INVERT'
@@ -72,13 +71,13 @@ class PIE_MT_SelectionsOM(Menu):
pie.operator("object.select_all", text="Select All Toggle",
icon='NONE').action = 'TOGGLE'
# 7 - TOP - LEFT
- pie.operator("view3d.select_circle", text="Circle Select", icon='NONE')
+ pie.operator("view3d.select_circle", text="Circle Select")
# 9 - TOP - RIGHT
- pie.operator("view3d.select_box", text="Box Select", icon='NONE')
+ pie.operator("view3d.select_box", text="Box Select")
# 1 - BOTTOM - LEFT
- pie.operator("object.select_camera", text="Select Camera", icon='CAMERA_DATA')
+ pie.operator("object.select_camera", text="Select Camera")
# 3 - BOTTOM - RIGHT
- pie.menu("PIE_MT_selectionsmore", text="Select Menu", icon='RESTRICT_SELECT_OFF')
+ pie.menu("PIE_MT_selectionsmore", text="Select Menu")
# Pie Selection Edit Mode
@@ -90,25 +89,21 @@ class PIE_MT_SelectionsEM(Menu):
layout = self.layout
pie = layout.menu_pie()
# 4 - LEFT
- pie.operator("view3d.select_box", text="Box Select",
- icon='NONE')
+ pie.operator("mesh.select_all", text="Select All",
+ icon='RESTRICT_SELECT_OFF').action = 'SELECT'
# 6 - RIGHT
- pie.menu("OBJECT_MT_selectloopselection", text="Select Loop Menu", icon='NONE')
+ pie.menu("OBJECT_MT_selectloopselection", text="Select Loop Menu")
# 2 - BOTTOM
- pie.operator("mesh.select_all", text="Select None",
- icon='RESTRICT_SELECT_ON').action = 'DESELECT'
+ pie.operator("mesh.select_all", text="Invert Selection").action = 'INVERT'
# 8 - TOP
- pie.operator("mesh.select_all", text="Select All",
- icon='RESTRICT_SELECT_OFF').action = 'SELECT'
+ pie.operator("mesh.select_all", text="Select All Toggle").action = 'TOGGLE'
# 7 - TOP - LEFT
- pie.operator("mesh.select_all", text="Select All Toggle",
- icon='ARROW_LEFTRIGHT').action = 'TOGGLE'
+ pie.operator("view3d.select_circle", text="Circle Select")
# 9 - TOP - RIGHT
- pie.operator("mesh.select_all", text="Invert Selection",
- icon='FULLSCREEN_EXIT').action = 'INVERT'
+ pie.operator("view3d.select_box", text="Box Select")
# 1 - BOTTOM - LEFT
- pie.operator("view3d.select_circle", text="Circle Select",
- icon='NONE')
+ pie.operator("mesh.select_all", text="Select None",
+ icon='RESTRICT_SELECT_ON').action = 'DESELECT'
# 3 - BOTTOM - RIGHT
pie.menu("PIE_MT_selectallbyselection", text="Edit Modes", icon='VERTEXSEL')