diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-08-05 15:42:06 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2014-08-05 15:42:06 -0500 |
commit | 16ca4e0f9a4ffc87e8e572b8d69767648c2170ae (patch) | |
tree | 1ff9d225e598e4ed7c2379e1a870b9cce1f4d59f /gtk2_ardour/editor_selection.cc | |
parent | 45afed5e9a38e50030c9f82f81f60a1bb883e867 (diff) |
Initial steps towards usable range-based automation editing.
TODO: needs undo. only works in top quarter of automation lane. selection model feels weird sometimes. needs to show gain curve when you are using Range tool
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 9c05c9f924..4bc622ad2c 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -185,12 +185,12 @@ Editor::set_selected_track_as_side_effect (Selection::Operation op) return; } - if (!clicked_routeview) { - return; + RouteGroup* group = NULL; + if (clicked_routeview) { + group = clicked_routeview->route()->route_group(); } bool had_tracks = !selection->tracks.empty(); - RouteGroup* group = clicked_routeview->route()->route_group(); RouteGroup& arg (_session->all_route_group()); switch (op) { |