diff options
Diffstat (limited to 'libs/ardour/selection.cc')
-rw-r--r-- | libs/ardour/selection.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/selection.cc b/libs/ardour/selection.cc index 1c0e89fdf0..2286c83751 100644 --- a/libs/ardour/selection.cc +++ b/libs/ardour/selection.cc @@ -217,9 +217,11 @@ CoreSelection::get_stripables (StripableAutomationControls& sc) const boost::shared_ptr<AutomationControl> c; if (!s) { + /* some global automation control, not owned by a Stripable */ c = session.automation_control_by_id ((*x).controllable); } else { - c = s->automation_control ((*x).controllable); + /* automation control owned by a Stripable or one of its children */ + c = s->automation_control_recurse ((*x).controllable); } if (s || c) { |