Allow to select pan-automation lanes - #8234

The GUI uses ::axis_view_by_control() if a controllable when
the CoreSelection contains a controllable.

CoreSelection::get_stripables() saves and looks up controllable
by PBD::ID. Panorama automation controls were previously
not found, since they are not directly owned by the route.
This commit is contained in:
Robin Gareus 2020-06-14 20:31:50 +02:00
parent b6b95a1761
commit 3294b1ce08
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -6055,6 +6055,12 @@ Route::automation_control_recurse (PBD::ID const & id) const
return ac;
}
if (_pannable) {
if ((ac = _pannable->automation_control (id))) {
return ac;
}
}
Glib::Threads::RWLock::ReaderLock lm (_processor_lock);
for (ProcessorList::const_iterator i = _processors.begin(); i != _processors.end(); ++i) {