diff --git a/libs/ardour/selection.cc b/libs/ardour/selection.cc index 376f05588b..2dac79745d 100644 --- a/libs/ardour/selection.cc +++ b/libs/ardour/selection.cc @@ -623,6 +623,8 @@ CoreSelection::get_stripables_for_op (std::shared_ptr sl, std::sh void CoreSelection::get_stripables_for_op (StripableList& sl, std::shared_ptr target, bool (RouteGroup::*group_predicate)() const) const { + assert (target); + std::shared_ptr r (std::dynamic_pointer_cast (target)); if (_stripables.empty()) { @@ -650,6 +652,7 @@ CoreSelection::get_stripables_for_op (StripableList& sl, std::shared_ptris_selected()) { + /* Use full selection */ StripableAutomationControls sc;