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:
authorCampbell Barton <ideasman42@gmail.com>2018-05-28 17:34:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-27 09:52:15 +0300
commite70a6aecbfa5ccb6cbd59e48ee92bbf2d3d73378 (patch)
tree506d03922f0432938886471d82849ad805992e20
parente578b0f187ecd498e960d689dd5ca8ee1bbc854c (diff)
Revert "Pie Menu manipulators - use tools"
This reverts commit f6e3238de3e4d3526c64023b488a3d0ac177ae88. Was intended for 2.8x branch only.
-rw-r--r--pie_menus_official/pie_manipulator_of.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pie_menus_official/pie_manipulator_of.py b/pie_menus_official/pie_manipulator_of.py
index ef25d369..04ced83a 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("view3d.manipulator_set", icon='MAN_TRANS', text="Translate").type = 'TRANSLATE'
+ pie.operator("view3d.manipulator_set", icon='MAN_ROT', text="Rotate").type = 'ROTATE'
+ pie.operator("view3d.manipulator_set", icon='MAN_SCALE', text="Scale").type = 'SCALE'
pie.prop(context.space_data, "show_manipulator")