[Bf-extensions-cvs] [0f2207e7] master: Fix '3D Viewport Pie Menus' idnames after recent change
Jacques Lucke
noreply at git.blender.org
Tue Mar 26 12:49:03 CET 2019
Commit: 0f2207e7fe467cdce1a0b4cc1a1ab0ccda0dfcef
Author: Jacques Lucke
Date: Tue Mar 26 12:47:25 2019 +0100
Branches: master
https://developer.blender.org/rBA0f2207e7fe467cdce1a0b4cc1a1ab0ccda0dfcef
Fix '3D Viewport Pie Menus' idnames after recent change
This is necessary because of rBb24a255ca67.
===================================================================
M space_view3d_pie_menus/pie_align_menu.py
M space_view3d_pie_menus/pie_animation_menu.py
M space_view3d_pie_menus/pie_apply_transform_menu.py
M space_view3d_pie_menus/pie_cursor.py
M space_view3d_pie_menus/pie_delete_menu.py
M space_view3d_pie_menus/pie_editor_switch_menu.py
M space_view3d_pie_menus/pie_manipulator_menu.py
M space_view3d_pie_menus/pie_modes_menu.py
M space_view3d_pie_menus/pie_orientation_menu.py
M space_view3d_pie_menus/pie_origin.py
M space_view3d_pie_menus/pie_pivot_point_menu.py
M space_view3d_pie_menus/pie_proportional_menu.py
M space_view3d_pie_menus/pie_save_open_menu.py
M space_view3d_pie_menus/pie_sculpt_menu.py
M space_view3d_pie_menus/pie_select_menu.py
M space_view3d_pie_menus/pie_shading_menu.py
M space_view3d_pie_menus/pie_snap_menu.py
M space_view3d_pie_menus/pie_views_numpad_menu.py
===================================================================
diff --git a/space_view3d_pie_menus/pie_align_menu.py b/space_view3d_pie_menus/pie_align_menu.py
index ac5b3a4e..dbdea815 100644
--- a/space_view3d_pie_menus/pie_align_menu.py
+++ b/space_view3d_pie_menus/pie_align_menu.py
@@ -40,7 +40,7 @@ from bpy.props import EnumProperty
# Pie Align - Alt + X
class PieAlign(Menu):
- bl_idname = "pie.align"
+ bl_idname = "PIE_MT_align"
bl_label = "Pie Align"
def draw(self, context):
@@ -253,7 +253,7 @@ def register():
# Align
km = wm.keyconfigs.addon.keymaps.new(name='Mesh')
kmi = km.keymap_items.new('wm.call_menu_pie', 'X', 'PRESS', alt=True)
- kmi.properties.name = "pie.align"
+ kmi.properties.name = "PIE_MT_align"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_animation_menu.py b/space_view3d_pie_menus/pie_animation_menu.py
index 774aa8e0..66dab8bb 100644
--- a/space_view3d_pie_menus/pie_animation_menu.py
+++ b/space_view3d_pie_menus/pie_animation_menu.py
@@ -40,7 +40,7 @@ from bpy.types import (
class PieAnimation(Menu):
- bl_idname = "pie.animation"
+ bl_idname = "PIE_MT_animation"
bl_label = "Pie Animation"
def draw(self, context):
@@ -103,7 +103,7 @@ def register():
# Animation
km = wm.keyconfigs.addon.keymaps.new(name='Object Non-modal')
kmi = km.keymap_items.new('wm.call_menu_pie', 'A', 'PRESS', alt=True)
- kmi.properties.name = "pie.animation"
+ kmi.properties.name = "PIE_MT_animation"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_apply_transform_menu.py b/space_view3d_pie_menus/pie_apply_transform_menu.py
index a92920db..35f99c52 100644
--- a/space_view3d_pie_menus/pie_apply_transform_menu.py
+++ b/space_view3d_pie_menus/pie_apply_transform_menu.py
@@ -40,7 +40,7 @@ from bpy.props import EnumProperty
# Pie Apply Transforms - Ctrl + A
class PieApplyTransforms(Menu):
- bl_idname = "pie.applytransforms"
+ bl_idname = "PIE_MT_applytransforms"
bl_label = "Pie Apply Transforms"
def draw(self, context):
@@ -61,7 +61,7 @@ class PieApplyTransforms(Menu):
# 1 - BOTTOM - LEFT
pie.operator("object.visual_transform_apply", text="Visual Transforms")
# 3 - BOTTOM - RIGHT
- pie.menu("clear.menu", text="Clear Transform Menu")
+ pie.menu("PIE_MT_clear_menu", text="Clear Transform Menu")
# Apply Transforms
@@ -104,7 +104,7 @@ class ApplyTransformAll(Operator):
# Clear Menu
class ClearMenu(Menu):
- bl_idname = "clear.menu"
+ bl_idname = "PIE_MT_clear_menu"
bl_label = "Clear Menu"
def draw(self, context):
@@ -149,7 +149,7 @@ def register():
# Apply Transform
km = wm.keyconfigs.addon.keymaps.new(name='Object Mode')
kmi = km.keymap_items.new('wm.call_menu_pie', 'A', 'PRESS', ctrl=True)
- kmi.properties.name = "pie.applytransforms"
+ kmi.properties.name = "PIE_MT_applytransforms"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_cursor.py b/space_view3d_pie_menus/pie_cursor.py
index 05550eb3..3e6225dd 100644
--- a/space_view3d_pie_menus/pie_cursor.py
+++ b/space_view3d_pie_menus/pie_cursor.py
@@ -58,7 +58,7 @@ class Snap_CursSelToCenter1(Operator):
# Origin/Pivot menu1 - Shift + S
class Snap_CursorMenu(Menu):
- bl_idname = "snap.cursormenu"
+ bl_idname = "SNAP_MT_cursormenu"
bl_label = "Cursor Menu"
def draw(self, context):
@@ -102,7 +102,7 @@ def register():
# Origin/Pivot
km = wm.keyconfigs.addon.keymaps.new(name='3D View Generic', space_type='VIEW_3D')
kmi = km.keymap_items.new('wm.call_menu_pie', 'S', 'PRESS', shift=True)
- kmi.properties.name = "snap.cursormenu"
+ kmi.properties.name = "SNAP_MT_cursormenu"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_delete_menu.py b/space_view3d_pie_menus/pie_delete_menu.py
index 0632877e..00cec262 100644
--- a/space_view3d_pie_menus/pie_delete_menu.py
+++ b/space_view3d_pie_menus/pie_delete_menu.py
@@ -36,7 +36,7 @@ from bpy.types import Menu
# Pie Delete - X
class PieDelete(Menu):
- bl_idname = "pie.delete"
+ bl_idname = "PIE_MT_delete"
bl_label = "Pie Delete"
def draw(self, context):
@@ -83,7 +83,7 @@ def register():
# Delete
km = wm.keyconfigs.addon.keymaps.new(name='Mesh')
kmi = km.keymap_items.new('wm.call_menu_pie', 'X', 'PRESS')
- kmi.properties.name = "pie.delete"
+ kmi.properties.name = "PIE_MT_delete"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_editor_switch_menu.py b/space_view3d_pie_menus/pie_editor_switch_menu.py
index 093f46b6..92f2622a 100644
--- a/space_view3d_pie_menus/pie_editor_switch_menu.py
+++ b/space_view3d_pie_menus/pie_editor_switch_menu.py
@@ -62,7 +62,7 @@ class AreaTypePieOperator(Operator):
class AreaPieEditor(Menu):
- bl_idname = "pie.editor"
+ bl_idname = "PIE_MT_editor"
bl_label = "Editor Switch"
def draw(self, context):
@@ -167,7 +167,7 @@ def register():
# Snapping
km = wm.keyconfigs.addon.keymaps.new(name='Window')
kmi = km.keymap_items.new('wm.call_menu_pie', 'S', 'PRESS', ctrl=True, alt=True)
- kmi.properties.name = "pie.editor"
+ kmi.properties.name = "PIE_MT_editor"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_manipulator_menu.py b/space_view3d_pie_menus/pie_manipulator_menu.py
index 3c65da58..d06e4bf7 100644
--- a/space_view3d_pie_menus/pie_manipulator_menu.py
+++ b/space_view3d_pie_menus/pie_manipulator_menu.py
@@ -50,7 +50,7 @@ class WManupulators(Operator):
# Pie Manipulators - Ctrl + Space
class PieManipulator(Menu):
- bl_idname = "pie.manipulator"
+ bl_idname = "PIE_MT_manipulator"
bl_label = "Pie Manipulator"
def draw(self, context):
@@ -83,7 +83,7 @@ def register():
# Manipulators
km = wm.keyconfigs.addon.keymaps.new(name='3D View Generic', space_type='VIEW_3D')
kmi = km.keymap_items.new('wm.call_menu_pie', 'SPACE', 'PRESS', ctrl=True)
- kmi.properties.name = "pie.manipulator"
+ kmi.properties.name = "PIE_MT_manipulator"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_modes_menu.py b/space_view3d_pie_menus/pie_modes_menu.py
index 943e85ce..047984a8 100644
--- a/space_view3d_pie_menus/pie_modes_menu.py
+++ b/space_view3d_pie_menus/pie_modes_menu.py
@@ -260,7 +260,7 @@ class PieInteractiveModeGreasePencil(Operator):
# Menus
class PieObjectEditotherModes(Menu):
"""Edit/Object Others modes"""
- bl_idname = "menu.objecteditmodeothermodes"
+ bl_idname = "MENU_MT_objecteditmodeothermodes"
bl_label = "Edit Selection Modes"
def draw(self, context):
@@ -281,7 +281,7 @@ class PieObjectEditotherModes(Menu):
class PieObjectEditMode(Menu):
"""Modes Switch"""
- bl_idname = "pie.objecteditmode"
+ bl_idname = "PIE_MT_objecteditmode"
bl_label = "Modes Menu (Tab)"
def draw(self, context):
@@ -297,7 +297,7 @@ class PieObjectEditMode(Menu):
# 6 - RIGHT
pie.operator("class.pietexturepaint", text="Texture Paint", icon='TPAINT_HLT')
# 2 - BOTTOM
- pie.menu("menu.objecteditmodeothermodes", text="Vert,Edge,Face Modes", icon='EDITMODE_HLT')
+ pie.menu("MENU_MT_objecteditmodeothermodes", text="Vert,Edge,Face Modes", icon='EDITMODE_HLT')
# 8 - TOP
pie.operator("class.object", text="Edit/Object Toggle", icon='OBJECT_DATAMODE')
# 7 - TOP - LEFT
@@ -320,7 +320,7 @@ class PieObjectEditMode(Menu):
# 6 - RIGHT
pie.operator("class.pietexturepaint", text="Texture Paint", icon='TPAINT_HLT')
# 2 - BOTTOM
- pie.menu("menu.objecteditmodeothermodes", text="Edit Modes", icon='EDITMODE_HLT')
+ pie.menu("MENU_MT_objecteditmodeothermodes", text="Edit Modes", icon='EDITMODE_HLT')
# 8 - TOP
pie.operator("class.object", text="Edit/Object Toggle", icon='OBJECT_DATAMODE')
# 7 - TOP - LEFT
@@ -470,12 +470,12 @@ def register():
# Select Mode
km = wm.keyconfigs.addon.keymaps.new(name='Object Non-modal')
kmi = km.keymap_items.new('wm.call_menu_pie', 'TAB', 'PRESS')
- kmi.properties.name = "pie.objecteditmode"
+ kmi.properties.name = "PIE_MT_objecteditmode"
addon_keymaps.append((km, kmi))
km = wm.keyconfigs.addon.keymaps.new(name='Grease Pencil Stroke Edit Mode')
kmi = km.keymap_items.new('wm.call_menu_pie', 'TAB', 'PRESS')
- kmi.properties.name = "pie.objecteditmode"
+ kmi.properties.name = "PIE_MT_objecteditmode"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_orientation_menu.py b/space_view3d_pie_menus/pie_orientation_menu.py
index 801fbaa0..afcbee42 100644
--- a/space_view3d_pie_menus/pie_orientation_menu.py
+++ b/space_view3d_pie_menus/pie_orientation_menu.py
@@ -41,7 +41,7 @@ from bpy.props import (
class OrientPie(Menu):
bl_label = "Transform Orientation"
- bl_idname = "pie.orient"
+ bl_idname = "PIE_MT_orient"
def draw(self, context):
layout = self.layout
@@ -67,7 +67,7 @@ def register():
# Manipulators
km = wm.keyconfigs.addon.keymaps.new(name='3D View Generic', space_type='VIEW_3D')
kmi = km.keymap_items.new('wm.call_menu_pie', 'SPACE', 'PRESS', alt=True)
- kmi.properties.name = "pie.orient"
+ kmi.properties.name = "PIE_MT_orient"
addon_keymaps.append((km, kmi))
diff --git a/space_view3d_pie_menus/pie_origin.py b/space_view3d_pie_menus/pie_origin.py
index 12e477f4..f99a2e4c 100644
--- a/space_view3d_pie_menus/pie_origin.py
+++ b/space_view3d_pie_menus/pie_origin.py
@@ -95,7 +95,7 @@ class PivotBottom(Operator):
# Pie Origin/Pivot - Shift + S
class PieOriginPivot(Menu):
- bl_idname = "origin.pivotmenu"
+ bl_idname = "ORIGIN_MT_pivotmenu"
bl_label = "Origin Menu"
def draw(self, context):
@@ -158,7 +158,7 @@ def register():
# Origin/Pivo
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-extensions-cvs
mailing list