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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user