[Bf-extensions-cvs] [b547c480] blender-v2.80-release: space_view3d_pie_menus: fix "Preferences" in Addon T67164

meta-androcto noreply at git.blender.org
Wed Jul 24 16:27:17 CEST 2019


Commit: b547c48015ab77e9cb4cdcc665ee1534befa6922
Author: meta-androcto
Date:   Tue Jul 23 15:17:16 2019 +1000
Branches: blender-v2.80-release
https://developer.blender.org/rBAb547c48015ab77e9cb4cdcc665ee1534befa6922

space_view3d_pie_menus: fix "Preferences" in Addon T67164

===================================================================

M	space_view3d_pie_menus/pie_editor_switch_menu.py

===================================================================

diff --git a/space_view3d_pie_menus/pie_editor_switch_menu.py b/space_view3d_pie_menus/pie_editor_switch_menu.py
index 6fb2df28..bdff15a0 100644
--- a/space_view3d_pie_menus/pie_editor_switch_menu.py
+++ b/space_view3d_pie_menus/pie_editor_switch_menu.py
@@ -94,8 +94,8 @@ class PIE_MT_AreaTypePieOther(Menu):
     def draw(self, context):
         self.layout.operator(PIE_OT_SetAreaType.bl_idname, text="File Browser", icon="FILEBROWSER").types = "FILE_BROWSER"
         self.layout.operator(PIE_OT_SetAreaType.bl_idname, text="Python Console", icon="CONSOLE").types = "CONSOLE"
-        self.layout.operator(PIE_OT_SetAreaType.bl_idname, text="User Preferences",
-                             icon="PREFERENCES").types = "USER_PREFERENCES"
+        self.layout.operator(PIE_OT_SetAreaType.bl_idname, text="Preferences",
+                             icon="PREFERENCES").types = "PREFERENCES"
         self.layout.operator(PIE_OT_SetAreaType.bl_idname, text="Info", icon="INFO").types = "INFO"



More information about the Bf-extensions-cvs mailing list