Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Reynish <billrey@me.com>2019-02-26 22:24:40 +0300
committerWilliam Reynish <billrey@me.com>2019-02-26 22:24:40 +0300
commit92766fb96519594290d370f2a3bed7accd26c472 (patch)
tree95611119b5f7d1fe1124ac7c6d68b0a8ca12dddb /release/scripts/startup/bl_ui/space_graph.py
parent4d9697a5a90de08d30de373cf6dc83f8130fffdc (diff)
UI: Move Pivot next to Orientation in header
-The pivot point and orientation of any transform are strongly related -It matches the comma-key and period-key on the keyboard who are neighbours -We get slightly nicer grouping this way, with the two axis-related options on the left and the two toggles on the right Reviewers: pablovazquez, campbellbarton Differential Revision: https://developer.blender.org/D4413
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index e7db1d613f2..006232ec071 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -65,6 +65,8 @@ class GRAPH_HT_header(Header):
icon='FILTER',
)
+ layout.prop(st, "pivot_point", icon_only=True)
+
layout.prop(st, "auto_snap", text="")
row = layout.row(align=True)
@@ -73,8 +75,6 @@ class GRAPH_HT_header(Header):
sub.active = tool_settings.use_proportional_fcurve
sub.prop(tool_settings, "proportional_edit_falloff", text="", icon_only=True)
- layout.prop(st, "pivot_point", icon_only=True)
-
class GRAPH_PT_filters(DopesheetFilterPopoverBase, Panel):
bl_space_type = 'GRAPH_EDITOR'