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:
authorJacques Lucke <mail@jlucke.com>2018-11-04 20:44:53 +0300
committerJacques Lucke <mail@jlucke.com>2018-11-04 20:44:53 +0300
commitbaaf58872bf83049637f2e4da9c444265846f2af (patch)
treecf123c6caa86811035f2de03f05ab6b87131378a /space_view3d_pie_menus/pie_select_menu.py
parentad39a4b8961e2afb852852e2e3057bc3a770d2ee (diff)
port "3D Viewport Pie Menus" to Blender 2.8
I'm pretty sure that I did not find every thing that needs to be ported. At least the addon is usable again. I replaced deprecated icons with NONE. Someone else, who is responsible for this addon, can choose some new icons. Differential Revision: https://developer.blender.org/D3883 Reviewer: campbellbarton
Diffstat (limited to 'space_view3d_pie_menus/pie_select_menu.py')
-rw-r--r--space_view3d_pie_menus/pie_select_menu.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/space_view3d_pie_menus/pie_select_menu.py b/space_view3d_pie_menus/pie_select_menu.py
index e0e492eb..e47fb5e6 100644
--- a/space_view3d_pie_menus/pie_select_menu.py
+++ b/space_view3d_pie_menus/pie_select_menu.py
@@ -23,7 +23,7 @@ bl_info = {
"description": "Object/Edit mode Selection Menu",
"author": "pitiwazou, meta-androcto",
"version": (0, 1, 1),
- "blender": (2, 77, 0),
+ "blender": (2, 80, 0),
"location": "3D View",
"warning": "",
"wiki_url": "",
@@ -44,7 +44,7 @@ class PieSelectionsMore(Menu):
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='ROTATE')
+ box.operator("object.select_grouped", text="Select Grouped", icon='NONE')
box.operator("object.select_linked", text="Select Linked", icon='CONSTRAINT_BONE')
box.menu("VIEW3D_MT_select_object_more_less", text="More/Less")
@@ -58,7 +58,7 @@ class PieSelectionsOM(Menu):
layout = self.layout
pie = layout.menu_pie()
# 4 - LEFT
- pie.operator("object.select_by_layer", text="Select By Layer", icon='LAYER_ACTIVE')
+ pie.row().label(text="")
# 6 - RIGHT
pie.operator("object.select_random", text="Select Random", icon='GROUP_VERTEX')
# 2 - BOTTOM
@@ -66,11 +66,11 @@ class PieSelectionsOM(Menu):
icon='ZOOM_PREVIOUS').action = 'INVERT'
# 8 - TOP
pie.operator("object.select_all", text="Select All Toggle",
- icon='RENDER_REGION').action = 'TOGGLE'
+ icon='NONE').action = 'TOGGLE'
# 7 - TOP - LEFT
- pie.operator("view3d.select_circle", text="Circle Select", icon='BORDER_LASSO')
+ pie.operator("view3d.select_circle", text="Circle Select", icon='NONE')
# 9 - TOP - RIGHT
- pie.operator("view3d.select_box", text="Box Select", icon='BORDER_RECT')
+ pie.operator("view3d.select_box", text="Box Select", icon='NONE')
# 1 - BOTTOM - LEFT
pie.operator("object.select_camera", text="Select Camera", icon='CAMERA_DATA')
# 3 - BOTTOM - RIGHT
@@ -87,7 +87,7 @@ class PieSelectionsEM(Menu):
pie = layout.menu_pie()
# 4 - LEFT
pie.operator("view3d.select_box", text="Box Select",
- icon='BORDER_RECT')
+ icon='NONE')
# 6 - RIGHT
pie.menu("object.selectloopselection", text="Select Loop Menu", icon='LOOPSEL')
# 2 - BOTTOM
@@ -104,7 +104,7 @@ class PieSelectionsEM(Menu):
icon='FULLSCREEN_EXIT').action = 'INVERT'
# 1 - BOTTOM - LEFT
pie.operator("view3d.select_circle", text="Circle Select",
- icon='BORDER_LASSO')
+ icon='NONE')
# 3 - BOTTOM - RIGHT
pie.menu("object.selectallbyselection", text="Multi Select Menu", icon='SNAP_EDGE')