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:
authorRobert Guetzkow <rjg>2020-12-19 11:59:00 +0300
committerRobert Guetzkow <gitcommit@outlook.de>2020-12-19 12:01:34 +0300
commit2719e7b337fcd9464b98f3394f5ebe2b043f71ba (patch)
treecbe232d45ebdea8a4efb867ac47e46bb0908574c /space_view3d_pie_menus
parenta3fa40ec0ba525bc96cbfad49f854a0230b0524e (diff)
Fix T83732: Use correct UI type for pie menu entry
This patch fixes the UI type used for the image editor entry in the "3D Viewport Pie Menus" add-on. Previously the add-on set the UI type to "VIEW", which doesn't exist. This commit use corrects the value to "IMAGE_EDITOR". Reviewed By: mont29 Differential Revision: https://developer.blender.org/D9894
Diffstat (limited to 'space_view3d_pie_menus')
-rw-r--r--space_view3d_pie_menus/pie_editor_switch_menu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/space_view3d_pie_menus/pie_editor_switch_menu.py b/space_view3d_pie_menus/pie_editor_switch_menu.py
index 5b6475d6..585a90f0 100644
--- a/space_view3d_pie_menus/pie_editor_switch_menu.py
+++ b/space_view3d_pie_menus/pie_editor_switch_menu.py
@@ -57,7 +57,7 @@ class PIE_MT_AreaPieEditor(Menu):
# 8 - TOP
pie.operator(PIE_OT_SetAreaType.bl_idname, text="3D View", icon="VIEW3D").types = "VIEW_3D"
# 7 - TOP - LEFT
- pie.operator(PIE_OT_SetAreaType.bl_idname, text="Image Editor", icon="IMAGE").types = "VIEW"
+ pie.operator(PIE_OT_SetAreaType.bl_idname, text="Image Editor", icon="IMAGE").types = "IMAGE_EDITOR"
# 9 - TOP - RIGHT
pie.operator(PIE_OT_SetAreaType.bl_idname, text="UV Editor", icon="UV").types = "UV"
# 1 - BOTTOM - LEFT