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_save_open_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_save_open_menu.py')
-rw-r--r--space_view3d_pie_menus/pie_save_open_menu.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/space_view3d_pie_menus/pie_save_open_menu.py b/space_view3d_pie_menus/pie_save_open_menu.py
index 8b7e56e0..a8307d07 100644
--- a/space_view3d_pie_menus/pie_save_open_menu.py
+++ b/space_view3d_pie_menus/pie_save_open_menu.py
@@ -21,7 +21,7 @@
bl_info = {
"name": "Hotkey: 'Ctrl S'",
"description": "Save/Open & File Menus",
- "blender": (2, 77, 0),
+ "blender": (2, 80, 0),
"location": "All Editors",
"warning": "",
"wiki_url": "",
@@ -46,17 +46,17 @@ class PieSaveOpen(Menu):
layout = self.layout
pie = layout.menu_pie()
# 4 - LEFT
- pie.operator("wm.read_homefile", text="New", icon='NEW')
+ pie.operator("wm.read_homefile", text="New", icon='FILE_NEW')
# 6 - RIGHT
pie.menu("pie.link", text="Link", icon='LINK_BLEND')
# 2 - BOTTOM
pie.menu("pie.fileio", text="Import/Export Menu", icon='IMPORT')
# 8 - TOP
- pie.operator("file.save_incremental", text="Incremental Save", icon='SAVE_COPY')
+ pie.operator("file.save_incremental", text="Incremental Save", icon='NONE')
# 7 - TOP - LEFT
pie.operator("wm.save_mainfile", text="Save", icon='FILE_TICK')
# 9 - TOP - RIGHT
- pie.operator("wm.save_as_mainfile", text="Save As...", icon='SAVE_AS')
+ pie.operator("wm.save_as_mainfile", text="Save As...", icon='NONE')
# 1 - BOTTOM - LEFT
pie.operator("wm.open_mainfile", text="Open file", icon='FILE_FOLDER')
# 3 - BOTTOM - RIGHT
@@ -84,7 +84,7 @@ class pie_recover(Menu):
layout = self.layout
pie = layout.menu_pie()
box = pie.split().column()
- box.operator("wm.recover_auto_save", text="Recover Auto Save...", icon='RECOVER_AUTO')
+ box.operator("wm.recover_auto_save", text="Recover Auto Save...", icon='NONE')
box.operator("wm.recover_last_session", text="Recover Last Session", icon='RECOVER_LAST')
box.operator("wm.revert_mainfile", text="Revert", icon='FILE_REFRESH')