diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-18 03:59:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-18 04:40:52 +0300 |
commit | 7e12649226fa6eeda7026cc2e8ba9f5a09be1400 (patch) | |
tree | 6c5101db376846d37b399c8e23bc21e3f29ace28 | |
parent | b1a011f77d896d2314a35710b4e0fa079839343a (diff) |
Update for changes in Blender
-rw-r--r-- | pie_menus_official/pie_manipulator_of.py | 6 | ||||
-rw-r--r-- | space_view3d_pie_menus/pie_manipulator_menu.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pie_menus_official/pie_manipulator_of.py b/pie_menus_official/pie_manipulator_of.py index eb475cf7..3bdc4e2a 100644 --- a/pie_menus_official/pie_manipulator_of.py +++ b/pie_menus_official/pie_manipulator_of.py @@ -50,9 +50,9 @@ class VIEW3D_PIE_manipulator_of(Menu): layout = self.layout pie = layout.menu_pie() - pie.operator("wm.tool_set_by_name", icon='MAN_TRANS', text="Translate").name = "Move" - pie.operator("wm.tool_set_by_name", icon='MAN_ROT', text="Rotate").name = "Rotate" - pie.operator("wm.tool_set_by_name", icon='MAN_SCALE', text="Scale").name = "Scale" + pie.operator("wm.tool_set_by_id", icon='MAN_TRANS', text="Translate").name = "builtin.move" + pie.operator("wm.tool_set_by_id", icon='MAN_ROT', text="Rotate").name = "builtin.rotate" + pie.operator("wm.tool_set_by_id", icon='MAN_SCALE', text="Scale").name = "builtin.scale" pie.prop(context.space_data, "show_gizmo") diff --git a/space_view3d_pie_menus/pie_manipulator_menu.py b/space_view3d_pie_menus/pie_manipulator_menu.py index 68895901..3c65da58 100644 --- a/space_view3d_pie_menus/pie_manipulator_menu.py +++ b/space_view3d_pie_menus/pie_manipulator_menu.py @@ -57,11 +57,11 @@ class PieManipulator(Menu): layout = self.layout pie = layout.menu_pie() # 4 - LEFT - pie.operator("wm.tool_set_by_name", text="Translate", icon='NONE').name = "Move" + pie.operator("wm.tool_set_by_id", text="Translate", icon='NONE').name = "builtin.move" # 6 - RIGHT - pie.operator("wm.tool_set_by_name", text="Rotate", icon='NONE').name = "Rotate" + pie.operator("wm.tool_set_by_id", text="Rotate", icon='NONE').name = "builtin.rotate" # 2 - BOTTOM - pie.operator("wm.tool_set_by_name", text="Scale", icon='NONE').name = "Scale" + pie.operator("wm.tool_set_by_id", text="Scale", icon='NONE').name = "builtin.scale" # 8 - TOP pie.operator("w.manupulators", text="Show/Hide Toggle", icon='NONE') |