Skip to content
Snippets Groups Projects
Commit 528316ff authored by Joshua Leung's avatar Joshua Leung
Browse files

"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.
parent f173979b
No related branches found
No related tags found
No related merge requests found
......@@ -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 = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment