diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-05-22 21:27:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-05-22 21:27:55 +0300 |
commit | 528316ff3b55097ec5d63a10ebc56687cf99bd13 (patch) | |
tree | 4afa2a92f6b2d10cba965e81c88164cf4e4374c9 | |
parent | f173979b09fe0300a16c5effc36df79f2d9d505b (diff) |
"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.
-rw-r--r-- | space_view3d_pie_menus/pie_manipulator_menu.py | 14 |
1 files 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 bc447a20..3a599483 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 = ( |