diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-11-04 20:44:53 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-11-04 20:44:53 +0300 |
commit | baaf58872bf83049637f2e4da9c444265846f2af (patch) | |
tree | cf123c6caa86811035f2de03f05ab6b87131378a /space_view3d_pie_menus/pie_editor_switch_menu.py | |
parent | ad39a4b8961e2afb852852e2e3057bc3a770d2ee (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_editor_switch_menu.py')
-rw-r--r-- | space_view3d_pie_menus/pie_editor_switch_menu.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/space_view3d_pie_menus/pie_editor_switch_menu.py b/space_view3d_pie_menus/pie_editor_switch_menu.py index adbab7c2..093f46b6 100644 --- a/space_view3d_pie_menus/pie_editor_switch_menu.py +++ b/space_view3d_pie_menus/pie_editor_switch_menu.py @@ -23,7 +23,7 @@ bl_info = { "description": "Switch Editor Type Menu", "author": "saidenka", "version": (0, 1, 0), - "blender": (2, 77, 0), + "blender": (2, 80, 0), "location": "All Editors", "warning": "", "wiki_url": "", @@ -73,15 +73,15 @@ class AreaPieEditor(Menu): # 6 - RIGHT pie.menu(AreaTypePieAnim.bl_idname, text="Animation Editors", icon="ACTION") # 2 - BOTTOM - pie.operator(SetAreaType.bl_idname, text="Property", icon="BUTS").types = "PROPERTIES" + pie.operator(SetAreaType.bl_idname, text="Property", icon="PROPERTIES").types = "PROPERTIES" # 8 - TOP pie.operator(SetAreaType.bl_idname, text="3D View", icon="MESH_CUBE").types = "VIEW_3D" # 7 - TOP - LEFT - pie.operator(SetAreaType.bl_idname, text="UV/Image Editor", icon="IMAGE_COL").types = "IMAGE_EDITOR" + pie.operator(SetAreaType.bl_idname, text="UV/Image Editor", icon="NONE").types = "IMAGE_EDITOR" # 9 - TOP - RIGHT pie.operator(SetAreaType.bl_idname, text="Node Editor", icon="NODETREE").types = "NODE_EDITOR" # 1 - BOTTOM - LEFT - pie.operator(SetAreaType.bl_idname, text="Outliner", icon="OOPS").types = "OUTLINER" + pie.operator(SetAreaType.bl_idname, text="Outliner", icon="NONE").types = "OUTLINER" # 3 - BOTTOM - RIGHT pie.menu(AreaTypePieOther.bl_idname, text="More Editors", icon="QUESTION") |