Remove duplicate call

Automatable::add_control() already does insert a given parameter
to the _can_automate_list list if it's automatable.
This commit is contained in:
Robin Gareus 2018-10-31 23:25:50 +01:00
parent 352c824fa3
commit befa339d4b

View file

@ -450,9 +450,6 @@ PluginInsert::create_automatable_parameters ()
const bool automatable = a.find(param) != a.end();
if (automatable) {
can_automate (param);
}
boost::shared_ptr<AutomationList> list(new AutomationList(param, desc));
boost::shared_ptr<AutomationControl> c (new PluginControl(this, param, desc, list));
if (!automatable) {