ControlGroup cannot just create Controls that don't exist

The call as-is can only create route-owned controls, and
even if it would succeed, the created ACs won't necessarily
be controlling anything.
This commit is contained in:
Robin Gareus
2023-11-30 22:08:40 +01:00
parent 87181710b2
commit 004097075a

View File

@@ -244,7 +244,7 @@ ControlGroup::fill_from_stripable_list (StripableList& sl, Evoral::Parameter con
break;
default:
for (auto & s : sl) {
std::shared_ptr<AutomationControl> ac = s->automation_control (p, true);
std::shared_ptr<AutomationControl> ac = s->automation_control (p, false);
if (ac) {
add_control (ac, true);
}