From 528316ff3b55097ec5d63a10ebc56687cf99bd13 Mon Sep 17 00:00:00 2001 From: Joshua Leung <aligorith@gmail.com> Date: Tue, 22 May 2018 20:27:55 +0200 Subject: [PATCH] "Manipulators" Pie - Simplify layout to only offer the 3 basic transforms This way, it's a more balanced layout, at the expense of losing access to the Translate/Rotate/Scale manipulator. But for our Spring animator at least, this is sufficient already. --- space_view3d_pie_menus/pie_manipulator_menu.py | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/space_view3d_pie_menus/pie_manipulator_menu.py b/space_view3d_pie_menus/pie_manipulator_menu.py index bc447a201..3a599483e 100644 --- a/space_view3d_pie_menus/pie_manipulator_menu.py +++ b/space_view3d_pie_menus/pie_manipulator_menu.py @@ -63,21 +63,13 @@ class PieManipulator(Menu): layout = self.layout pie = layout.menu_pie() # 4 - LEFT - pie.separator() # Rotate/Scale + pie.operator("wm.tool_set_by_name", text="Translate", icon='MAN_TRANS').name = "Move" # 6 - RIGHT - pie.operator("wm.tool_set_by_name", text="Rotate", icon='MAN_ROT').name = "Rotate" + pie.operator("wm.tool_set_by_name", text="Scale", icon='MAN_SCALE').name = "Scale" # 2 - BOTTOM - pie.operator("wm.tool_set_by_name", text="Translate/Rotate/Scale").name = "Transform" + pie.operator("wm.tool_set_by_name", text="Rotate", icon='MAN_ROT').name = "Rotate" # 8 - TOP pie.operator("w.manupulators", text="Show/Hide Toggle", icon='MANIPUL') - # 7 - TOP - LEFT - pie.separator() # Translate/Rotate - # 9 - TOP - RIGHT - pie.operator("wm.tool_set_by_name", text="Translate", icon='MAN_TRANS').name = "Move" - # 1 - BOTTOM - LEFT - pie.separator() # Translate/Scale - # 3 - BOTTOM - RIGHT - pie.operator("wm.tool_set_by_name", text="Scale", icon='MAN_SCALE').name = "Scale" classes = ( -- GitLab