diff options
author | julianeisel <julian_eisel@web.de> | 2015-02-06 17:45:12 +0300 |
---|---|---|
committer | julianeisel <julian_eisel@web.de> | 2015-02-06 17:53:13 +0300 |
commit | dffdde4cdce3921a79f0e4320a1f7c2c06917bcd (patch) | |
tree | ea08880344f8c99f15ac2ae97bd9e4f57e49e5df /release | |
parent | 31170ec19ed2e3ec4d0cf223e214a1d6aa5f2249 (diff) |
Graph Editor: Auto View
Auto View automatically adjusts the view based on selection, so that the view is
always focused on the current selection.
A checkbox in the header is used to access it and it works for the following
selection methods: Toggle All, Border, Circle, Lasso, Left, Right, More, Less,
Linked, Column (so all except of single selection, in which this can be a bit
annoying)
Reviewed by @Aligorith (thanks for that :) )
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_graph.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py index d3e1a866e43..50bbc3cea76 100644 --- a/release/scripts/startup/bl_ui/space_graph.py +++ b/release/scripts/startup/bl_ui/space_graph.py @@ -41,6 +41,8 @@ class GRAPH_HT_header(Header): dopesheet_filter(layout, context) + layout.prop(st, "use_auto_view", text="Auto View") + layout.prop(st, "use_normalization", text="Normalize") row = layout.row() row.active = st.use_normalization |